You are here

protected function GTMMultipleTest::checkPageResponse in GoogleTagManager 8

Inspect the page response.

Overrides GTMTestBase::checkPageResponse

File

tests/src/Functional/GTMMultipleTest.php, line 68

Class

GTMMultipleTest
Tests the Google Tag Manager for a site with multiple containers.

Namespace

Drupal\Tests\google_tag\Functional

Code

protected function checkPageResponse() {
  parent::checkPageResponse();
  $include_file = $this
    ->config('google_tag.settings')
    ->get('include_file');
  $include_file ? $this
    ->checkPageResponseFile() : $this
    ->checkPageResponseInline();
}