diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-03-06 13:35:06 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-03-06 13:35:06 +0100 |
commit | 84cf40ed82417f56586c46317b1280065c7091a6 (patch) | |
tree | 2f774fd12de4763b9f2a0f29a7199d2a3b05f14e /apps/files_encryption/tests/util.php | |
parent | a687498547448d6ff11eccc0acddcf0647873ce8 (diff) | |
parent | 1785c0c9b9fcdc6e9a8e58f13f45e5b53364882a (diff) | |
download | nextcloud-server-84cf40ed82417f56586c46317b1280065c7091a6.tar.gz nextcloud-server-84cf40ed82417f56586c46317b1280065c7091a6.zip |
merge master into webdav-injection
Diffstat (limited to 'apps/files_encryption/tests/util.php')
-rwxr-xr-x | apps/files_encryption/tests/util.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/tests/util.php b/apps/files_encryption/tests/util.php index 5fa96f6ad69..55a056613e4 100755 --- a/apps/files_encryption/tests/util.php +++ b/apps/files_encryption/tests/util.php @@ -344,7 +344,7 @@ class Test_Encryption_Util extends \PHPUnit_Framework_TestCase { // check if mtime and etags unchanged $this->assertEquals($fileInfoEncrypted['mtime'], $fileInfoUnencrypted['mtime']); - $this->assertEquals($fileInfoEncrypted['etag'], $fileInfoUnencrypted['etag']); + $this->assertSame($fileInfoEncrypted['etag'], $fileInfoUnencrypted['etag']); $this->view->unlink($this->userId . '/files/' . $filename); } @@ -373,7 +373,7 @@ class Test_Encryption_Util extends \PHPUnit_Framework_TestCase { // check if mtime and etags unchanged $this->assertEquals($fileInfoEncrypted['mtime'], $fileInfoUnencrypted['mtime']); - $this->assertEquals($fileInfoEncrypted['etag'], $fileInfoUnencrypted['etag']); + $this->assertSame($fileInfoEncrypted['etag'], $fileInfoUnencrypted['etag']); // file should no longer be encrypted $this->assertEquals(0, $fileInfoUnencrypted['encrypted']); |