update test
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
02ee4f958c
commit
1a379b0fdc
|
@ -77,7 +77,7 @@ class PermissionsMaskTest extends \Test\Files\Storage\Storage {
|
||||||
|
|
||||||
public function testPutContentsNewFileNoUpdate() {
|
public function testPutContentsNewFileNoUpdate() {
|
||||||
$storage = $this->getMaskedStorage(Constants::PERMISSION_ALL - Constants::PERMISSION_UPDATE);
|
$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'));
|
$this->assertEquals('bar', $storage->file_get_contents('foo'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue