Skip to content

Commit 2ac101d

Browse files
lesauxneolynx
authored andcommitted
missed some files for tests
1 parent 7cdb641 commit 2ac101d

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

debian/aptly.conf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,10 @@ gcs_publish_endpoints:
282282
# # Project (optional)
283283
# # Quota project used for GCS requests
284284
# project: ""
285+
# # Endpoint (optional)
286+
# # Override the GCS endpoint (e.g. for staging or a fake server);
287+
# # leave empty to use the default GCS endpoint
288+
# endpoint: ""
285289
# # Default ACLs (optional)
286290
# # assign ACL to published files:
287291
# # * private (default)

system/t02_config/CreateConfigTest_gold

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,10 @@ gcs_publish_endpoints:
282282
# # Project (optional)
283283
# # Quota project used for GCS requests
284284
# project: ""
285+
# # Endpoint (optional)
286+
# # Override the GCS endpoint (e.g. for staging or a fake server);
287+
# # leave empty to use the default GCS endpoint
288+
# endpoint: ""
285289
# # Default ACLs (optional)
286290
# # assign ACL to published files:
287291
# # * private (default)

utils/config_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ func (s *ConfigSuite) TestSaveConfig(c *C) {
141141
" \"credentialsFile\": \"\",\n" +
142142
" \"serviceAccountJSON\": \"\",\n" +
143143
" \"project\": \"\",\n" +
144+
" \"endpoint\": \"\",\n" +
144145
" \"acl\": \"\",\n" +
145146
" \"storageClass\": \"\",\n" +
146147
" \"encryptionKey\": \"\",\n" +
@@ -374,6 +375,7 @@ gcs_publish_endpoints:
374375
credentials_file: /tmp/creds.json
375376
service_account_json: '{"type":"service_account"}'
376377
project: test-project
378+
endpoint: ""
377379
acl: public-read
378380
storage_class: STANDARD
379381
encryption_key: "12345678901234567890123456789012"

0 commit comments

Comments
 (0)