зеркало из https://github.com/Azure/ARO-RP.git
fix test error (#3908)
This commit is contained in:
Родитель
4bbe114caa
Коммит
5285e55335
|
@ -1679,7 +1679,8 @@ func TestGenerateFederatedIdentityCredentials(t *testing.T) {
|
|||
afdEndpoint := "fake.oic.aro.test.net"
|
||||
clusterResourceID := "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fakeResourceGroup/providers/Microsoft.RedHatOpenShift/openShiftClusters/fakeCluster"
|
||||
resourceID := "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/fakeResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities"
|
||||
OIDCIssuer := pointerutils.ToPtr(api.OIDCIssuer(fmt.Sprintf("https://%s/%s%s", afdEndpoint, env.OIDCBlobDirectoryPrefix, docID)))
|
||||
tenantId := "00000000-0000-0000-0000-000000000000"
|
||||
OIDCIssuer := pointerutils.ToPtr(api.OIDCIssuer(fmt.Sprintf("https://%s/%s", afdEndpoint, oidcbuilder.GetBlobName(tenantId, docID))))
|
||||
fakeClint, _ := utilmsi.NewTestFederatedIdentityCredentialsClient(subID)
|
||||
|
||||
for _, tt := range []struct {
|
||||
|
|
Загрузка…
Ссылка в новой задаче