@@ -14,6 +14,8 @@ import (
1414//
1515// Deprecated: Use [VirtualNetworkExistsContext] instead.
1616func VirtualNetworkExists (t testing.TestingT , vnetName string , resGroupName string , subscriptionID string ) bool {
17+ t .Helper ()
18+
1719 return VirtualNetworkExistsContext (t , context .Background (), vnetName , resGroupName , subscriptionID )
1820}
1921
@@ -54,6 +56,8 @@ func VirtualNetworkExistsContextE(ctx context.Context, vnetName string, resGroup
5456//
5557// Deprecated: Use [SubnetExistsContext] instead.
5658func SubnetExists (t testing.TestingT , subnetName string , vnetName string , resGroupName string , subscriptionID string ) bool {
59+ t .Helper ()
60+
5761 return SubnetExistsContext (t , context .Background (), subnetName , vnetName , resGroupName , subscriptionID )
5862}
5963
@@ -94,6 +98,8 @@ func SubnetExistsContextE(ctx context.Context, subnetName string, vnetName strin
9498//
9599// Deprecated: Use [CheckSubnetContainsIPContext] instead.
96100func CheckSubnetContainsIP (t testing.TestingT , ipAddress string , subnetName string , vnetName string , resGroupName string , subscriptionID string ) bool {
101+ t .Helper ()
102+
97103 return CheckSubnetContainsIPContext (t , context .Background (), ipAddress , subnetName , vnetName , resGroupName , subscriptionID )
98104}
99105
@@ -146,6 +152,8 @@ func CheckSubnetContainsIPContextE(ctx context.Context, ipAddress string, subnet
146152//
147153// Deprecated: Use [GetVirtualNetworkSubnetsContext] instead.
148154func GetVirtualNetworkSubnets (t testing.TestingT , vnetName string , resGroupName string , subscriptionID string ) map [string ]string {
155+ t .Helper ()
156+
149157 return GetVirtualNetworkSubnetsContext (t , context .Background (), vnetName , resGroupName , subscriptionID )
150158}
151159
@@ -200,6 +208,8 @@ func GetVirtualNetworkSubnetsContextE(ctx context.Context, vnetName string, resG
200208//
201209// Deprecated: Use [GetVirtualNetworkDNSServerIPsContext] instead.
202210func GetVirtualNetworkDNSServerIPs (t testing.TestingT , vnetName string , resGroupName string , subscriptionID string ) []string {
211+ t .Helper ()
212+
203213 return GetVirtualNetworkDNSServerIPsContext (t , context .Background (), vnetName , resGroupName , subscriptionID )
204214}
205215
0 commit comments