From 1a379b0fdcb4ad468eab11e3c72d7f13ceeb42ea Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 2 Dec 2016 18:04:21 +0100 Subject: [PATCH] update test Signed-off-by: Robin Appelman --- tests/lib/Files/Storage/Wrapper/PermissionsMaskTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/Files/Storage/Wrapper/PermissionsMaskTest.php b/tests/lib/Files/Storage/Wrapper/PermissionsMaskTest.php index c342155364..9859915e2c 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')); }