From fb8432d5ac26d2cccda45c6bdfe3bc24bdbfc0de Mon Sep 17 00:00:00 2001 From: victor Date: Fri, 21 Aug 2015 12:55:55 +0300 Subject: [PATCH] Fix PHP 7 tests --- More/EAV/Tests/ValueTest.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/More/EAV/Tests/ValueTest.php b/More/EAV/Tests/ValueTest.php index 0d817ce..1b96521 100644 --- a/More/EAV/Tests/ValueTest.php +++ b/More/EAV/Tests/ValueTest.php @@ -10,19 +10,6 @@ use DesignPatterns\More\EAV\Value; */ 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() { $attribute = new Attribute();