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,
|
ChecksPassing: 3,
|
||||||
ChecksWarning: 1,
|
ChecksWarning: 1,
|
||||||
ChecksCritical: 2,
|
ChecksCritical: 2,
|
||||||
|
EnterpriseMeta: *structs.DefaultEnterpriseMeta(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
FilteredByACLs: false,
|
FilteredByACLs: false,
|
||||||
|
@ -1253,15 +1254,17 @@ func TestUIServiceTopology(t *testing.T) {
|
||||||
InstanceCount: 1,
|
InstanceCount: 1,
|
||||||
ChecksPassing: 2,
|
ChecksPassing: 2,
|
||||||
ChecksCritical: 1,
|
ChecksCritical: 1,
|
||||||
|
EnterpriseMeta: *structs.DefaultEnterpriseMeta(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Downstreams: []*ServiceSummary{
|
Downstreams: []*ServiceSummary{
|
||||||
{
|
{
|
||||||
Name: "api",
|
Name: "api",
|
||||||
Datacenter: "dc1",
|
Datacenter: "dc1",
|
||||||
Nodes: []string{"foo"},
|
Nodes: []string{"foo"},
|
||||||
InstanceCount: 1,
|
InstanceCount: 1,
|
||||||
ChecksPassing: 3,
|
ChecksPassing: 3,
|
||||||
|
EnterpriseMeta: *structs.DefaultEnterpriseMeta(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
FilteredByACLs: false,
|
FilteredByACLs: false,
|
||||||
|
@ -1298,6 +1301,7 @@ func TestUIServiceTopology(t *testing.T) {
|
||||||
ChecksPassing: 3,
|
ChecksPassing: 3,
|
||||||
ChecksWarning: 1,
|
ChecksWarning: 1,
|
||||||
ChecksCritical: 2,
|
ChecksCritical: 2,
|
||||||
|
EnterpriseMeta: *structs.DefaultEnterpriseMeta(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
FilteredByACLs: false,
|
FilteredByACLs: false,
|
||||||
|
|
Loading…
Reference in New Issue