Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Add forcePathStyle to s3 config test

Gabe Kangas550e7d97afec
diff --git a/test/automated/api/configmanagement.test.js b/test/automated/api/configmanagement.test.js
index e80d94434f..22a3292e8a 100644
--- a/test/automated/api/configmanagement.test.js
+++ b/test/automated/api/configmanagement.test.js
@@ -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) => {
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();
});
});