Fix tests

This commit is contained in:
Girish Ramakrishnan
2021-12-03 18:14:41 -08:00
parent 39807e6ba4
commit ea2b11e448
3 changed files with 4 additions and 4 deletions

View File

@@ -82,7 +82,8 @@ describe('Settings API', function () {
describe('exposed_ldap_config', function () {
// keep in sync with defaults in settings.js
let defaultConfig = {
enabled: false
enabled: false,
allowlist: ''
};
it('can get exposed_ldap_config (default)', async function () {
@@ -124,7 +125,7 @@ describe('Settings API', function () {
.query({ access_token: owner.token });
expect(response.statusCode).to.equal(200);
expect(response.body).to.eql({ enabled: true });
expect(response.body).to.eql({ enabled: true, allowlist: '' });
});
});