Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Fix other unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Porges committed Nov 24, 2020
1 parent f794832 commit 9dcbb87
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hack/generated/pkg/util/armresourceresolver/resolver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ func createResourceGroup(name string) *resources.ResourceGroup {
Name: name,
},
Spec: resources.ResourceGroupSpec{
Location: "West US",
Location: "West US",
AzureName: name, // defaulter webhook will copy Name to AzureName
},
}
}
Expand All @@ -57,6 +58,7 @@ func createResourceGroupRootedResource(rgName string, name string) (genruntime.M
Owner: genruntime.KnownResourceReference{
Name: rgName,
},
AzureName: name, // defaulter webhook will copy Name to AzureName
},
}

Expand All @@ -74,6 +76,7 @@ func createDeeplyNestedResource(rgName string, parentName string, name string) R
Owner: genruntime.KnownResourceReference{
Name: rgName,
},
AzureName: parentName, // defaulter webhook will copy Name to AzureName
},
}

Expand Down

0 comments on commit 9dcbb87

Please sign in to comment.