diff --git a/tests/modules/admin/forms/Document/CollectionsTest.php b/tests/modules/admin/forms/Document/CollectionsTest.php index 7c6923cd1..1ef04a7ee 100644 --- a/tests/modules/admin/forms/Document/CollectionsTest.php +++ b/tests/modules/admin/forms/Document/CollectionsTest.php @@ -78,7 +78,7 @@ public function testPopulateFromPost() $subforms = $form->getSubForms(); - $this->assertInternalType('array', $subforms); + $this->assertIsArray($subforms); $this->assertArrayHasKey('ddc2', $subforms); $ddcform = $subforms['ddc2']; @@ -100,7 +100,7 @@ public function testFormNameRendering() $html = $form->render(); - $this->assertContains('id="ddc2"', $html); + $this->assertStringContainsString('id="ddc2"', $html); } public function testGetGroupedCollections()