You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/azcore/arm/runtime/policy_register_rp_test.go
+21-8Lines changed: 21 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ import (
24
24
"github.com/stretchr/testify/require"
25
25
)
26
26
27
-
constrpUnregisteredResp=`{
27
+
constrpUnregisteredResp1=`{
28
28
"error":{
29
29
"code":"MissingSubscriptionRegistration",
30
30
"message":"The subscription registration is in 'Unregistered' state. The subscription must be registered to use namespace 'Microsoft.Storage'. See https://aka.ms/rps-not-found for how to register subscriptions.",
@@ -37,6 +37,19 @@ const rpUnregisteredResp = `{
37
37
}
38
38
}`
39
39
40
+
constrpUnregisteredResp2=`{
41
+
"error":{
42
+
"code":"MissingRegistrationForResourceProvider",
43
+
"message":"The subscription registration is in 'Unregistered' state. The subscription must be registered to use namespace 'Microsoft.Storage'. See https://aka.ms/rps-not-found for how to register subscriptions.",
44
+
"details":[{
45
+
"code":"MissingRegistrationForResourceProvider",
46
+
"target":"Microsoft.Storage",
47
+
"message":"The subscription registration is in 'Unregistered' state. The subscription must be registered to use namespace 'Microsoft.Storage'. See https://aka.ms/rps-not-found for how to register subscriptions."
48
+
}
49
+
]
50
+
}
51
+
}`
52
+
40
53
// some content was omitted here as it's not relevant
0 commit comments