mirror of
https://gitee.com/dcren/initializr.git
synced 2025-07-15 05:13:15 +08:00
Fix Tracking code test for the homepage
This commit is contained in:
parent
cc7873ef41
commit
56712c629c
@ -68,8 +68,8 @@ public class MainControllerEnvIntegrationTests
|
|||||||
@Test
|
@Test
|
||||||
public void googleAnalytics() {
|
public void googleAnalytics() {
|
||||||
String body = htmlHome();
|
String body = htmlHome();
|
||||||
assertTrue("google analytics should be enabled",
|
assertTrue("google tag manager should be enabled",
|
||||||
body.contains("ga('create', 'UA-1234567-89', 'auto');"));
|
body.contains("https://www.googletagmanager.com/gtm.js"));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user