Browse Source
update test
Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/2486/head
Robin Appelman
10 years ago
No known key found for this signature in database
GPG Key ID: 425003AC385454C5
1 changed files with
1 additions and
1 deletions
-
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')); |
|
|
|
} |
|
|
|
|
|
|
|
|