Fixed some tests.

This commit is contained in:
Jan Böhmer 2020-01-02 23:03:25 +01:00
parent d9b15ddbb9
commit fbcfc1f2a8
3 changed files with 6 additions and 4 deletions

View file

@ -60,7 +60,7 @@ class NamedDBElementRepositoryTest extends WebTestCase
$this->assertIsArray($tree);
$this->assertContainsOnlyInstancesOf(TreeViewNode::class, $tree);
$this->assertCount(4, $tree);
$this->assertEquals('anonymous', $tree[0]->getText());
$this->assertEquals('admin', $tree[0]->getText());
$this->assertEmpty($tree[0]->getNodes());
}
}