Skip to content

Commit 92a2db0

Browse files
committed
Fix test NameHint to match SDK truncation
The SDK's SanitizeNameHint truncates hints to 24 characters, so the expected NameHint in the importer test needed to use the truncated form.
1 parent a53c7ac commit 92a2db0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/gcloud/service_account_key_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func TestServiceAccountKeyImporter(t *testing.T) {
9191
fieldname.Credential: saKeyJSON,
9292
fieldname.ProjectID: "my-gcp-project",
9393
},
94-
NameHint: "test@my-gcp-project.iam.gserviceaccount.com",
94+
NameHint: "test@my-gcp-project.iam",
9595
},
9696
},
9797
},

0 commit comments

Comments
 (0)