mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 05:55:16 +01:00
Fixed tests.
This commit is contained in:
@@ -82,8 +82,8 @@ class StructuralDBElementRepositoryTest extends WebTestCase
|
||||
|
||||
//Check that IDs were set correctly
|
||||
$this->assertSame(1, $tree[0]->getId());
|
||||
$this->assertSame(2, $tree[1]->getId());
|
||||
$this->assertSame(7, $tree[0]->getNodes()[0]->getNodes()[0]->getId());
|
||||
$this->assertSame(5, $tree[1]->getId());
|
||||
$this->assertSame(3, $tree[0]->getNodes()[0]->getNodes()[0]->getId());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user