diff options
author | Robin Appelman <robin@icewind.nl> | 2016-12-02 18:04:21 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2016-12-02 18:04:21 +0100 |
commit | 1a379b0fdcb4ad468eab11e3c72d7f13ceeb42ea (patch) | |
tree | 137a686f360014a4a88b51784dc20af876ea5058 /tests | |
parent | 02ee4f958c4a5c99274964c609aeae9845ed37d3 (diff) | |
download | nextcloud-server-1a379b0fdcb4ad468eab11e3c72d7f13ceeb42ea.tar.gz nextcloud-server-1a379b0fdcb4ad468eab11e3c72d7f13ceeb42ea.zip |
update test
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Files/Storage/Wrapper/PermissionsMaskTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Files/Storage/Wrapper/PermissionsMaskTest.php b/tests/lib/Files/Storage/Wrapper/PermissionsMaskTest.php index c3421553643..9859915e2cb 100644 --- a/tests/lib/Files/Storage/Wrapper/PermissionsMaskTest.php +++ b/tests/lib/Files/Storage/Wrapper/PermissionsMaskTest.php @@ -77,7 +77,7 @@ class PermissionsMaskTest extends \Test\Files\Storage\Storage { public function testPutContentsNewFileNoUpdate() { $storage = $this->getMaskedStorage(Constants::PERMISSION_ALL - Constants::PERMISSION_UPDATE); - $this->assertTrue($storage->file_put_contents('foo', 'bar')); + $this->assertEquals(3, $storage->file_put_contents('foo', 'bar')); $this->assertEquals('bar', $storage->file_get_contents('foo')); } |