diff --git a/api/config_entry_gateways_test.go b/api/config_entry_gateways_test.go index bc8d6d0e49..f80a4d74e8 100644 --- a/api/config_entry_gateways_test.go +++ b/api/config_entry_gateways_test.go @@ -157,8 +157,9 @@ func TestAPI_ConfigEntries_IngressGateway(t *testing.T) { require.Len(t, readIngress.Listeners, 1) require.Len(t, readIngress.Listeners[0].Services, 1) - // Set namespace to blank so that OSS and ent can utilize the same tests + // Set namespace and partition to blank so that OSS and ent can utilize the same tests readIngress.Listeners[0].Services[0].Namespace = "" + readIngress.Listeners[0].Services[0].Partition = "" require.Equal(t, ingress1.Listeners, readIngress.Listeners) case "bar": @@ -168,8 +169,9 @@ func TestAPI_ConfigEntries_IngressGateway(t *testing.T) { require.Equal(t, ingress2.Name, readIngress.Name) require.Len(t, readIngress.Listeners, 1) require.Len(t, readIngress.Listeners[0].Services, 1) - // Set namespace to blank so that OSS and ent can utilize the same tests + // Set namespace and partition to blank so that OSS and ent can utilize the same tests readIngress.Listeners[0].Services[0].Namespace = "" + readIngress.Listeners[0].Services[0].Partition = "" require.Equal(t, ingress2.Listeners, readIngress.Listeners) } diff --git a/command/connect/expose/expose_test.go b/command/connect/expose/expose_test.go index f2984c3ac4..41e1a73e05 100644 --- a/command/connect/expose/expose_test.go +++ b/command/connect/expose/expose_test.go @@ -55,6 +55,7 @@ func TestConnectExpose(t *testing.T) { { Name: "foo", Namespace: ns, + Partition: ap, }, }, }, @@ -95,6 +96,7 @@ func TestConnectExpose(t *testing.T) { { Name: "foo", Namespace: ns, + Partition: ap, }, }, })