You are here

private function AcquiaLiftsWebTest::assertNoLiftMetaTag in Acquia Lift Connector 7.3

Helper function to assert that a meta tag is not found in the page

4 calls to AcquiaLiftsWebTest::assertNoLiftMetaTag()
AcquiaLiftsWebTest::testFieldMappings in tests/acquia_lift.test
AcquiaLiftsWebTest::testLiftCredentials in tests/acquia_lift.test
Test credentials are output for Lift.
AcquiaLiftsWebTest::testNonNodePage in tests/acquia_lift.test
AcquiaLiftsWebTest::testUDFMappings in tests/acquia_lift.test

File

tests/acquia_lift.test, line 545
Tests for Acquia Lift Profiles module.

Class

AcquiaLiftsWebTest
Tests Acquia Lift functionality.

Code

private function assertNoLiftMetaTag($name) {
  $pattern = '/<meta (?=[^>]*itemprop="acquia_lift:' . preg_quote($name, '/') . '")/';
  $this
    ->assertNoPattern($pattern, 'Did not find meta tag for ' . $name);
}