Skip to content

Commit 21aa41d

Browse files
committed
Fix tests
1 parent fe83eab commit 21aa41d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/functional/google_analytics_test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,6 @@ public function test_set_acp_settings()
8282
public function test_google_analytics_code()
8383
{
8484
$crawler = self::request('GET', 'index.php');
85-
$this->assertContains($this->sample_ga_code, $crawler->filter('head > script')->text());
85+
$this->assertContains($this->sample_ga_code, $crawler->filter('head > script')->eq(1)->text());
8686
}
8787
}

0 commit comments

Comments
 (0)