瀏覽代碼

reset ldap serverUrl

Futa Arai 2 年之前
父節點
當前提交
ca9060fffd
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      apps/app/test/integration/service/ldap-user-group-sync.test.ts

+ 4 - 0
apps/app/test/integration/service/ldap-user-group-sync.test.ts

@@ -35,6 +35,10 @@ describe('LdapUserGroupSyncService.generateExternalUserGroupTrees', () => {
     });
   });
 
+  afterAll(async() => {
+    await configManager.updateConfigsInTheSameNamespace('crowi', { 'security:passport-ldap:serverUrl': undefined }, true);
+  });
+
   describe('When there is no circular reference in group tree', () => {
     it('creates ExternalUserGroupTrees', async() => {
       // mock search on LDAP server