update tests

This commit is contained in:
Robin Appelman 2015-12-22 14:22:10 +01:00 committed by Vincent Petry
parent 3895ab8451
commit 8da3c3f125
2 changed files with 5 additions and 1 deletions

View File

@ -349,4 +349,8 @@ class UserGlobalStoragesServiceTest extends GlobalStoragesServiceTest {
$this->assertTrue(true);
}
public function testUpdateStorageMountPoint() {
// we don't test this here
$this->assertTrue(true);
}
}

View File

@ -122,8 +122,8 @@ class UserStoragesServiceTest extends StoragesServiceTest {
$newStorage = $this->service->updateStorage($newStorage);
$this->assertEquals('anotherPassword', $newStorage->getBackendOptions()['password']);
$this->assertEquals([$this->userId], $newStorage->getApplicableUsers());
// these attributes are unused for user storages
$this->assertEmpty($newStorage->getApplicableUsers());
$this->assertEmpty($newStorage->getApplicableGroups());
$this->assertEquals(0, $newStorage->getStatus());