Skip to content

Commit

Permalink
gcp: update recognized mock storage server path
Browse files Browse the repository at this point in the history
This is a candidate for a refactoring / merge together with `mock/gcs`,
but this deals with the issue for now.
  • Loading branch information
hiddeco committed Jul 3, 2023
1 parent b2ae512 commit 2f84b94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/gcp/gcp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ func TestMain(m *testing.M) {
}
case fmt.Sprintf("/storage/v1/b/%s/o?alt=json&delimiter=&endOffset=&pageToken=&prefix=&prettyPrint=false&projection=full&startOffset=&versions=false", bucketName):
case fmt.Sprintf("/storage/v1/b/%s/o?alt=json&delimiter=&endOffset=&includeTrailingDelimiter=false&pageToken=&prefix=&prettyPrint=false&projection=full&startOffset=&versions=false", bucketName):
case fmt.Sprintf("/storage/v1/b/%s/o?alt=json&delimiter=&endOffset=&includeTrailingDelimiter=false&matchGlob=&pageToken=&prefix=&prettyPrint=false&projection=full&startOffset=&versions=false", bucketName):
w.WriteHeader(200)
response := &raw.Objects{}
response.Items = append(response.Items, getObject())
Expand Down

0 comments on commit 2f84b94

Please sign in to comment.