diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-02-27 09:39:34 +0100 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-02-27 09:39:34 +0100 |
commit | 39f2f564a99ebe719748f349aafe92ed9910bc0b (patch) | |
tree | b6b2b469ed8708e194cc0b46bb6de96ed8c3702a /tests/lib/appframework | |
parent | 7f05c23231b7f77ccc155cdc229e1ae21267e0e5 (diff) | |
download | nextcloud-server-39f2f564a99ebe719748f349aafe92ed9910bc0b.tar.gz nextcloud-server-39f2f564a99ebe719748f349aafe92ed9910bc0b.zip |
use assertSame and assertNotSame for etag checks
Diffstat (limited to 'tests/lib/appframework')
-rw-r--r-- | tests/lib/appframework/http/ResponseTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/appframework/http/ResponseTest.php b/tests/lib/appframework/http/ResponseTest.php index 4f21d77a170..063ab8b5d33 100644 --- a/tests/lib/appframework/http/ResponseTest.php +++ b/tests/lib/appframework/http/ResponseTest.php @@ -78,7 +78,7 @@ class ResponseTest extends \PHPUnit_Framework_TestCase { public function testGetEtag() { $this->childResponse->setEtag('hi'); - $this->assertEquals('hi', $this->childResponse->getEtag()); + $this->assertSame('hi', $this->childResponse->getEtag()); } |