Add default meta to test assertion (#8824)
This commit is contained in:
parent
8b85f4cc1b
commit
f3d991fb8f
|
@ -1222,6 +1222,7 @@ func TestUIServiceTopology(t *testing.T) {
|
|||
ChecksPassing: 3,
|
||||
ChecksWarning: 1,
|
||||
ChecksCritical: 2,
|
||||
EnterpriseMeta: *structs.DefaultEnterpriseMeta(),
|
||||
},
|
||||
},
|
||||
FilteredByACLs: false,
|
||||
|
@ -1253,15 +1254,17 @@ func TestUIServiceTopology(t *testing.T) {
|
|||
InstanceCount: 1,
|
||||
ChecksPassing: 2,
|
||||
ChecksCritical: 1,
|
||||
EnterpriseMeta: *structs.DefaultEnterpriseMeta(),
|
||||
},
|
||||
},
|
||||
Downstreams: []*ServiceSummary{
|
||||
{
|
||||
Name: "api",
|
||||
Datacenter: "dc1",
|
||||
Nodes: []string{"foo"},
|
||||
InstanceCount: 1,
|
||||
ChecksPassing: 3,
|
||||
Name: "api",
|
||||
Datacenter: "dc1",
|
||||
Nodes: []string{"foo"},
|
||||
InstanceCount: 1,
|
||||
ChecksPassing: 3,
|
||||
EnterpriseMeta: *structs.DefaultEnterpriseMeta(),
|
||||
},
|
||||
},
|
||||
FilteredByACLs: false,
|
||||
|
@ -1298,6 +1301,7 @@ func TestUIServiceTopology(t *testing.T) {
|
|||
ChecksPassing: 3,
|
||||
ChecksWarning: 1,
|
||||
ChecksCritical: 2,
|
||||
EnterpriseMeta: *structs.DefaultEnterpriseMeta(),
|
||||
},
|
||||
},
|
||||
FilteredByACLs: false,
|
||||
|
|
Loading…
Reference in New Issue