diff --git a/internal/config/env_monitor_test.go b/internal/config/env_monitor_test.go index 3d5ea281..e1d6ac58 100644 --- a/internal/config/env_monitor_test.go +++ b/internal/config/env_monitor_test.go @@ -169,7 +169,7 @@ func TestReadAndAppendUptimeKumaURL(t *testing.T) { true, func(m *mocks.MockPP) { m.EXPECT().Warningf(pp.EmojiUserError, - `The Uptime Kuma URL (redacted) contains an unexpected query %s=... and it will not be used`, + `The Uptime Kuma URL (redacted) contains an unexpected query %s=... and it will be ignored`, "hello") }, }, diff --git a/internal/monitor/uptimekuma_test.go b/internal/monitor/uptimekuma_test.go index e813d6e9..fde3b1b0 100644 --- a/internal/monitor/uptimekuma_test.go +++ b/internal/monitor/uptimekuma_test.go @@ -36,7 +36,7 @@ func TestNewUptimeKuma(t *testing.T) { "unexpected": { "https://user:pass@host/path?random=", true, func(m *mocks.MockPP) { - m.EXPECT().Warningf(pp.EmojiUserError, "The Uptime Kuma URL (redacted) contains an unexpected query %s=... and it will not be used", "random") //nolint:lll + m.EXPECT().Warningf(pp.EmojiUserError, "The Uptime Kuma URL (redacted) contains an unexpected query %s=... and it will be ignored", "random") //nolint:lll }, }, "ill-formed-query": {