From 939047fa709500fc64eba724c4acde5b2d77de34 Mon Sep 17 00:00:00 2001 From: Nont Date: Thu, 18 Jan 2024 14:48:31 -0600 Subject: [PATCH] Remove BYO NSG references and replace with Preconfigure NSG --- pkg/validate/dynamic/dynamic_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/validate/dynamic/dynamic_test.go b/pkg/validate/dynamic/dynamic_test.go index b6f97b727e1..50e9911f8d2 100644 --- a/pkg/validate/dynamic/dynamic_test.go +++ b/pkg/validate/dynamic/dynamic_test.go @@ -1673,7 +1673,7 @@ func TestValidateNatGatewaysPermissionsWithCheckAccess(t *testing.T) { } } -func TestCheckBYONsg(t *testing.T) { +func TestCheckPreconfiguredNSG(t *testing.T) { subnetWithNSG := &mgmtnetwork.Subnet{ SubnetPropertiesFormat: &mgmtnetwork.SubnetPropertiesFormat{ NetworkSecurityGroup: &mgmtnetwork.SecurityGroup{ @@ -1691,14 +1691,14 @@ func TestCheckBYONsg(t *testing.T) { wantErr string }{ { - name: "pass: all subnets are attached (BYONSG)", + name: "pass: all subnets are attached", subnetByID: map[string]*mgmtnetwork.Subnet{ "A": subnetWithNSG, "B": subnetWithNSG, }, }, { - name: "fail: no subnets are attached (no longer BYONSG)", + name: "fail: no subnets are attached", subnetByID: map[string]*mgmtnetwork.Subnet{ "A": subnetWithoutNSG, "B": subnetWithoutNSG,