Skip to content

Commit 98c36a4

Browse files
fix test (#4350)
1 parent 6c89e84 commit 98c36a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/sources/gcs/gcs_manager_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ func TestNewGcsManager(t *testing.T) {
7171
projID: testProjectID,
7272
opts: []gcsManagerOption{withJSONServiceAccount(ctx, []byte(`{
7373
"type": "service_account",
74-
"project_id": "test-project"}`,
74+
"project_id": "test-project",
75+
"client_email": "[email protected]",
76+
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC7VJTUt9Us8cKB\nT1aFVMgL36LJVCGPGM7ke2dY67XR9/ln3tOXmNtHfZUGCLQRv3B0yTI/0mB4+DXu\n-----END PRIVATE KEY-----\n"}`,
7577
))},
7678
want: &gcsManager{projectID: testProjectID, concurrency: defaultConcurrency, maxObjectSize: defaultMaxObjectSize},
7779
},

0 commit comments

Comments
 (0)