ensure these tests work fine with namespaces in enterprise (#8794)

This commit is contained in:
R.B. Boyer 2020-10-01 09:54:46 -05:00 committed by GitHub
parent 4b525e5d16
commit e84d52ba3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -605,13 +605,13 @@ func TestInternal_ServiceDump(t *testing.T) {
// so the response should be the same in all subtests
expectedGW := structs.GatewayServices{
{
Service: structs.ServiceName{Name: "api"},
Gateway: structs.ServiceName{Name: "terminating-gateway"},
Service: structs.NewServiceName("api", nil),
Gateway: structs.NewServiceName("terminating-gateway", nil),
GatewayKind: structs.ServiceKindTerminatingGateway,
},
{
Service: structs.ServiceName{Name: "cache"},
Gateway: structs.ServiceName{Name: "terminating-gateway"},
Service: structs.NewServiceName("cache", nil),
Gateway: structs.NewServiceName("terminating-gateway", nil),
GatewayKind: structs.ServiceKindTerminatingGateway,
},
}