Skip to content

Commit fe048e6

Browse files
committed
another contain attempt
1 parent 502595e commit fe048e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Test/Helper/WikiHelperTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function testRenderChildren(){
3636
);
3737

3838
$htmlResult = $helper->renderChildren($children, 1, $project, false);
39-
$this->assertContains('<ul data-parent-id="1"', $htmlResult, 'htmlResult should contain <ul data-parent-id="1"');
40-
$this->assertContains('<li class="wikipage" data-project-id="1" data-page-id="5"', $htmlResult, 'htmlResult should contain <li class="wikipage" data-project-id="1" data-page-id="5"');
39+
$this->assertStringContainsString('<ul data-parent-id="1"', $htmlResult, 'htmlResult should contain <ul data-parent-id="1"');
40+
$this->assertStringContainsString('<li class="wikipage" data-project-id="1" data-page-id="5"', $htmlResult, 'htmlResult should contain <li class="wikipage" data-project-id="1" data-page-id="5"');
4141
}
4242
}

0 commit comments

Comments
 (0)