diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-05-15 06:56:03 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-05-15 06:56:03 +0000 |
| commit | 24778635d3cea1bf2a1e59fccb4cccbdcf0af890 (patch) | |
| tree | 0adcb2503071942cb0d78b395b4bb27a1d48b9a7 /tests/jsonapi/StructuralElementsShowTest.php | |
| parent | 4c0242f044a53979a08e7bec5913dc6a48b976f9 (diff) | |
update codeception/codeception to 5.1.2 and codeception/module-asserts to 3.0.0, fix test, fixes #4150
Closes #4150
Merge request studip/studip!2990
Diffstat (limited to 'tests/jsonapi/StructuralElementsShowTest.php')
| -rw-r--r-- | tests/jsonapi/StructuralElementsShowTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/jsonapi/StructuralElementsShowTest.php b/tests/jsonapi/StructuralElementsShowTest.php index 8cc168a..4873aae 100644 --- a/tests/jsonapi/StructuralElementsShowTest.php +++ b/tests/jsonapi/StructuralElementsShowTest.php @@ -52,7 +52,7 @@ class StructuralElementsShowTest extends \Codeception\Test\Unit $childIDs = $structuralElement->children->pluck('id'); $this->assertCount(count($childIDs), $includedResources); foreach ($includedResources as $included) { - $this->assertContains($included->id(), $childIDs); + $this->assertContainsEquals($included->id(), $childIDs); } } |
