Remove always-true requirement
This commit is contained in:
parent
616b2c9fdb
commit
5783800e8f
@ -122,9 +122,6 @@ class SessionHandlerProxyTest extends TestCase
|
|||||||
$this->proxy->gc(86400);
|
$this->proxy->gc(86400);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @requires PHPUnit 5.1
|
|
||||||
*/
|
|
||||||
public function testValidateId()
|
public function testValidateId()
|
||||||
{
|
{
|
||||||
$mock = $this->createMock(TestSessionHandler::class);
|
$mock = $this->createMock(TestSessionHandler::class);
|
||||||
@ -137,9 +134,6 @@ class SessionHandlerProxyTest extends TestCase
|
|||||||
$this->assertTrue($this->proxy->validateId('id'));
|
$this->assertTrue($this->proxy->validateId('id'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @requires PHPUnit 5.1
|
|
||||||
*/
|
|
||||||
public function testUpdateTimestamp()
|
public function testUpdateTimestamp()
|
||||||
{
|
{
|
||||||
$mock = $this->createMock(TestSessionHandler::class);
|
$mock = $this->createMock(TestSessionHandler::class);
|
||||||
|
@ -148,9 +148,6 @@ class PropertyAccessorTest extends TestCase
|
|||||||
$this->propertyAccessor->getValue(new UninitializedProperty(), 'uninitialized');
|
$this->propertyAccessor->getValue(new UninitializedProperty(), 'uninitialized');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @requires PHP 7
|
|
||||||
*/
|
|
||||||
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetter()
|
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetter()
|
||||||
{
|
{
|
||||||
$this->expectException(AccessException::class);
|
$this->expectException(AccessException::class);
|
||||||
@ -159,9 +156,6 @@ class PropertyAccessorTest extends TestCase
|
|||||||
$this->propertyAccessor->getValue(new UninitializedPrivateProperty(), 'uninitialized');
|
$this->propertyAccessor->getValue(new UninitializedPrivateProperty(), 'uninitialized');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @requires PHP 7
|
|
||||||
*/
|
|
||||||
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousClass()
|
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousClass()
|
||||||
{
|
{
|
||||||
$this->expectException(AccessException::class);
|
$this->expectException(AccessException::class);
|
||||||
@ -179,9 +173,6 @@ class PropertyAccessorTest extends TestCase
|
|||||||
$this->propertyAccessor->getValue($object, 'uninitialized');
|
$this->propertyAccessor->getValue($object, 'uninitialized');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @requires PHP 7
|
|
||||||
*/
|
|
||||||
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousStdClass()
|
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousStdClass()
|
||||||
{
|
{
|
||||||
$this->expectException(AccessException::class);
|
$this->expectException(AccessException::class);
|
||||||
@ -199,9 +190,6 @@ class PropertyAccessorTest extends TestCase
|
|||||||
$this->propertyAccessor->getValue($object, 'uninitialized');
|
$this->propertyAccessor->getValue($object, 'uninitialized');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @requires PHP 7
|
|
||||||
*/
|
|
||||||
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousChildClass()
|
public function testGetValueThrowsExceptionIfUninitializedPropertyWithGetterOfAnonymousChildClass()
|
||||||
{
|
{
|
||||||
$this->expectException(AccessException::class);
|
$this->expectException(AccessException::class);
|
||||||
|
Reference in New Issue
Block a user