update tests
This commit is contained in:
parent
3895ab8451
commit
8da3c3f125
2 changed files with 5 additions and 1 deletions
|
@ -349,4 +349,8 @@ class UserGlobalStoragesServiceTest extends GlobalStoragesServiceTest {
|
|||
$this->assertTrue(true);
|
||||
}
|
||||
|
||||
public function testUpdateStorageMountPoint() {
|
||||
// we don't test this here
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in a new issue