summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-12-02 18:04:21 +0100
committerRobin Appelman <robin@icewind.nl>2016-12-02 18:04:21 +0100
commit1a379b0fdcb4ad468eab11e3c72d7f13ceeb42ea (patch)
tree137a686f360014a4a88b51784dc20af876ea5058 /tests
parent02ee4f958c4a5c99274964c609aeae9845ed37d3 (diff)
downloadnextcloud-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.php2
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'));
}