Browse Source

update test

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/2486/head
Robin Appelman 10 years ago
parent
commit
1a379b0fdc
No known key found for this signature in database GPG Key ID: 425003AC385454C5
  1. 2
      tests/lib/Files/Storage/Wrapper/PermissionsMaskTest.php

2
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'));
}

Loading…
Cancel
Save