Fix tests
This commit is contained in:
@@ -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: '' });
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user