From 7fe4e4b3a4dcb9b0df84368429e61de5b9ae1e1c Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Thu, 21 May 2026 18:52:19 +0800 Subject: [PATCH] Fix TestDefinitionShape to assert ApplyToService The checker no longer applies to whole domains (see 62af174 "Apply only on opt-in services"); align the test with that availability. --- checker/provider_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/checker/provider_test.go b/checker/provider_test.go index f2d9629..e57c4e7 100644 --- a/checker/provider_test.go +++ b/checker/provider_test.go @@ -86,8 +86,8 @@ func TestDefinitionShape(t *testing.T) { if def.ID != "happydeliver" { t.Errorf("ID = %q", def.ID) } - if !def.Availability.ApplyToDomain { - t.Error("should apply to domain") + if !def.Availability.ApplyToService { + t.Error("should apply to service") } if !def.HasMetrics { t.Error("HasMetrics should be true")