From 1c80d280cc4d2408824a603ac9ffc9bd885d6117 Mon Sep 17 00:00:00 2001 From: Victor Lyuboslavsky Date: Thu, 27 Feb 2025 14:59:33 -0600 Subject: [PATCH] Fixed OTA test (#26673) --- server/service/frontend_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }