From ba63419d83289698d9ca1158916d3ae097c015b2 Mon Sep 17 00:00:00 2001 From: ftwbzhao Date: Mon, 16 Nov 2015 22:36:46 +0800 Subject: [PATCH] [EAV] keep unit test code consistency --- More/EAV/Tests/ValueTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/More/EAV/Tests/ValueTest.php b/More/EAV/Tests/ValueTest.php index cecf600..1b96521 100644 --- a/More/EAV/Tests/ValueTest.php +++ b/More/EAV/Tests/ValueTest.php @@ -40,6 +40,7 @@ class ValueTest extends \PHPUnit_Framework_TestCase $value->setName('Silver'); $this->assertSame($attribute, $value->getAttribute()); - $this->assertSame($attribute, $value->setAttribute($attribute)->getAttribute()); + $value->setAttribute($attribute); + $this->assertSame($attribute, $value->getAttribute()); } }