diff --git a/server/service/frontend_test.go b/server/service/frontend_test.go index 556a3c0591..0b3650f6c1 100644 --- a/server/service/frontend_test.go +++ b/server/service/frontend_test.go @@ -74,5 +74,5 @@ func TestServeEndUserEnrollOTA(t *testing.T) { require.NoError(t, err) bodyString := string(bodyBytes) require.Contains(t, bodyString, "api/v1/fleet/enrollment_profiles/ota?enroll_secret=foo") - require.Contains(t, bodyString, "/api/v1/fleet/android/enterprise/enrollment_token") + require.Contains(t, bodyString, "/api/v1/fleet/android_enterprise/enrollment_token") }