mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 10:49:00 +02:00
Fixed some tests.
This commit is contained in:
parent
d9b15ddbb9
commit
fbcfc1f2a8
3 changed files with 6 additions and 4 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue