update test

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2016-12-02 18:04:21 +01:00
parent 2dd97bb52d
commit b8d0975a0a
No known key found for this signature in database
GPG Key ID: 425003AC385454C5
1 changed files with 1 additions and 1 deletions

View File

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