mirror of https://github.com/status-im/consul.git
ensure these tests work fine with namespaces in enterprise (#8794)
This commit is contained in:
parent
9801ef8eb1
commit
9a55c50694
|
@ -605,13 +605,13 @@ func TestInternal_ServiceDump(t *testing.T) {
|
||||||
// so the response should be the same in all subtests
|
// so the response should be the same in all subtests
|
||||||
expectedGW := structs.GatewayServices{
|
expectedGW := structs.GatewayServices{
|
||||||
{
|
{
|
||||||
Service: structs.ServiceName{Name: "api"},
|
Service: structs.NewServiceName("api", nil),
|
||||||
Gateway: structs.ServiceName{Name: "terminating-gateway"},
|
Gateway: structs.NewServiceName("terminating-gateway", nil),
|
||||||
GatewayKind: structs.ServiceKindTerminatingGateway,
|
GatewayKind: structs.ServiceKindTerminatingGateway,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Service: structs.ServiceName{Name: "cache"},
|
Service: structs.NewServiceName("cache", nil),
|
||||||
Gateway: structs.ServiceName{Name: "terminating-gateway"},
|
Gateway: structs.NewServiceName("terminating-gateway", nil),
|
||||||
GatewayKind: structs.ServiceKindTerminatingGateway,
|
GatewayKind: structs.ServiceKindTerminatingGateway,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue