[EAV] keep unit test code consistency

This commit is contained in:
ftwbzhao 2015-11-16 22:36:46 +08:00
parent 115dd3bdb3
commit ba63419d83

View File

@ -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());
}
}