mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 05:55:16 +01:00
Fixed some tests.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user