Fix Tracking code test for the homepage

This commit is contained in:
Brian Clozel 2017-10-20 15:51:44 +02:00
parent cc7873ef41
commit 56712c629c

View File

@ -68,8 +68,8 @@ public class MainControllerEnvIntegrationTests
@Test
public void googleAnalytics() {
String body = htmlHome();
assertTrue("google analytics should be enabled",
body.contains("ga('create', 'UA-1234567-89', 'auto');"));
assertTrue("google tag manager should be enabled",
body.contains("https://www.googletagmanager.com/gtm.js"));
}
}