mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-30 12:48:01 +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
|
||||
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"));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user