Skip to content

Commit

Permalink
[MESH-5465] Update sample gateway asset aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
Punakshi committed Sep 13, 2024
1 parent 052779b commit 82d0384
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions admiral/pkg/clusters/envoyfilter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,18 +341,18 @@ func TestGetWorkloadSelectorLabels(t *testing.T) {
{
name: "Given gateway asset alias" +
"Should create a map containing the partition and original identifier",
identifier: "sw1.intuit.platform.servicesgateway.servicesgateway",
identifier: "sw1.org.platform.servicesgateway.servicesgateway",
expectedList: map[string]string{
common.GetPartitionIdentifier(): "sw1",
common.AssetAlias: "Intuit.platform.servicesgateway.servicesgateway",
common.AssetAlias: "Org.platform.servicesgateway.servicesgateway",
},
},
{
name: "Given non gateway asset alias" +
"Should create a map containing only the asset alias",
identifier: "Intuit.platform.services.payment",
identifier: "Org.platform.services.payment",
expectedList: map[string]string{
common.AssetAlias: "Intuit.platform.services.payment",
common.AssetAlias: "Org.platform.services.payment",
},
},
{
Expand All @@ -366,9 +366,9 @@ func TestGetWorkloadSelectorLabels(t *testing.T) {
{
name: "Given GW identifier without partition" +
"Should create a map containing only the asset alias",
identifier: "Intuit.platform.servicesgateway.servicesgateway",
identifier: "Org.platform.servicesgateway.servicesgateway",
expectedList: map[string]string{
common.AssetAlias: "Intuit.platform.servicesgateway.servicesgateway",
common.AssetAlias: "Org.platform.servicesgateway.servicesgateway",
},
},
}
Expand Down

0 comments on commit 82d0384

Please sign in to comment.