private function JsAssetTest::assertTextInFooter in Mautic Integration 8
1 call to JsAssetTest::assertTextInFooter()
- JsAssetTest::testPathWithSnippetFooter in tests/
src/ Functional/ JsAssetTest.php - Test the path with the js snippet in the footer
File
- tests/
src/ Functional/ JsAssetTest.php, line 137
Class
- JsAssetTest
- Functional tests for the Mautic module.
Namespace
Drupal\Tests\mautic\FunctionalCode
private function assertTextInFooter($text, $html) {
$textPosition = strpos($html, $text);
$startFooterPosition = strpos($html, '<footer>');
$this
->assertGreaterThan($startFooterPosition, $textPosition);
}