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.
This commit is contained in:
parent
10a65aed02
commit
7fe4e4b3a4
1 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue