You are here

private function JsAssetTest::assertTextNotInPage in Mautic Integration 8

1 call to JsAssetTest::assertTextNotInPage()
JsAssetTest::testPathWithoutSnippet in tests/src/Functional/JsAssetTest.php
Test the path without the js snippet

File

tests/src/Functional/JsAssetTest.php, line 144

Class

JsAssetTest
Functional tests for the Mautic module.

Namespace

Drupal\Tests\mautic\Functional

Code

private function assertTextNotInPage($text, $html) {
  $textPosition = strpos($html, $text);
  $this
    ->assertFalse($textPosition);
}