Fix PHP 7 tests

This commit is contained in:
victor
2015-08-21 12:55:55 +03:00
parent 905da079be
commit fb8432d5ac

View File

@@ -10,19 +10,6 @@ use DesignPatterns\More\EAV\Value;
*/ */
class ValueTest extends \PHPUnit_Framework_TestCase class ValueTest extends \PHPUnit_Framework_TestCase
{ {
public function testCreationFailureWithoutAttribute()
{
$isFailure = false;
try {
new Value();
} catch (\Exception $e) {
$isFailure = true;
}
$this->assertTrue($isFailure);
}
public function testCreationSuccessWithAttribute() public function testCreationSuccessWithAttribute()
{ {
$attribute = new Attribute(); $attribute = new Attribute();