From 937355ce8bef527f8e6b9cee04c62edb6a687c6f Mon Sep 17 00:00:00 2001 From: Jakub Turek Date: Thu, 5 Mar 2015 21:04:59 +0100 Subject: [PATCH] Change assignment assertion in accessors' tests to more restrict --- tests/MageTest/Command/AbstractCommandTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/MageTest/Command/AbstractCommandTest.php b/tests/MageTest/Command/AbstractCommandTest.php index 95afc37..28021d7 100644 --- a/tests/MageTest/Command/AbstractCommandTest.php +++ b/tests/MageTest/Command/AbstractCommandTest.php @@ -1,6 +1,7 @@ abstractCommand->setConfig($configMock); $actual = $this->getPropertyValue($this->abstractCommand, 'config'); - $this->assertEquals($configMock, $actual); + $this->assertSame($configMock, $actual); } /** @@ -47,6 +48,6 @@ class AbstractCommandTest extends BaseTest $this->setPropertyValue($this->abstractCommand, 'config', $configMock); $actual = $this->abstractCommand->getConfig(); - $this->assertEquals($configMock, $actual); + $this->assertSame($configMock, $actual); } }