Browse Source

Add forcePathStyle to s3 config test

pull/1503/head
Gabe Kangas 4 years ago
parent
commit
f10e240c18
  1. 3
      test/automated/api/configmanagement.test.js

3
test/automated/api/configmanagement.test.js

@ -29,6 +29,7 @@ const s3Config = { @@ -29,6 +29,7 @@ const s3Config = {
secret: randomString(),
bucket: randomString(),
region: randomString(),
forcePathStyle: true,
};
const forbiddenUsernames = [randomString(), randomString(), randomString()];
@ -148,7 +149,7 @@ test('admin configuration is correct', (done) => { @@ -148,7 +149,7 @@ test('admin configuration is correct', (done) => {
expect(res.body.s3.secret).toBe(s3Config.secret);
expect(res.body.s3.bucket).toBe(s3Config.bucket);
expect(res.body.s3.region).toBe(s3Config.region);
expect(res.body.s3.forcePathStyle).toBeTruthy();
done();
});
});

Loading…
Cancel
Save