Skip to content

Commit caa3a6f

Browse files
4gustchlowell
andauthored
Update apps/managedidentity/managedidentity_test.go
Co-authored-by: Charles Lowell <[email protected]>
1 parent e3d4474 commit caa3a6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/managedidentity/managedidentity_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,8 +600,8 @@ func TestAzureArcUserAssignedFailure(t *testing.T) {
600600
},
601601
}
602602

603-
for _, tt := range tests {
604-
t.Run(tt.name, func(t *testing.T) {
603+
for _, id := range []ID{UserAssignedClientID("clientID"), UserAssignedResourceID("resourceID"), UserAssignedObjectID("objectID")} {
604+
t.Run(fmt.Sprintf("%T", id), func(t *testing.T) {
605605
unsetEnvVars(t)
606606
setEnvVars(t, AzureArc)
607607
client, err := New(tt.id)

0 commit comments

Comments
 (0)