diff options
author | Chocobozzz <me@florianbigard.com> | 2020-07-30 16:58:32 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-07-31 11:32:04 +0200 |
commit | f9d2deae3a826b2f3fdcb6d0b29ef06f21a93c61 (patch) | |
tree | e1c1cdb0efaf123f0213b9695740933d4cd3869c /server/tests/external-plugins | |
parent | a613eea4c3987f5a2fba729a24ecaf2373624194 (diff) | |
download | PeerTube-f9d2deae3a826b2f3fdcb6d0b29ef06f21a93c61.tar.gz PeerTube-f9d2deae3a826b2f3fdcb6d0b29ef06f21a93c61.tar.zst PeerTube-f9d2deae3a826b2f3fdcb6d0b29ef06f21a93c61.zip |
Correctly test ldap
Diffstat (limited to 'server/tests/external-plugins')
-rw-r--r-- | server/tests/external-plugins/auth-ldap.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/external-plugins/auth-ldap.ts b/server/tests/external-plugins/auth-ldap.ts index 0f0a08532..bb02fbc02 100644 --- a/server/tests/external-plugins/auth-ldap.ts +++ b/server/tests/external-plugins/auth-ldap.ts | |||
@@ -47,7 +47,7 @@ describe('Official plugin auth-ldap', function () { | |||
47 | 'mail-property': 'mail', | 47 | 'mail-property': 'mail', |
48 | 'search-base': 'ou=people,dc=planetexpress,dc=com', | 48 | 'search-base': 'ou=people,dc=planetexpress,dc=com', |
49 | 'search-filter': '(|(mail={{username}})(uid={{username}}))', | 49 | 'search-filter': '(|(mail={{username}})(uid={{username}}))', |
50 | 'url': 'ldap://ldap:390', | 50 | 'url': 'ldap://localhost:390', |
51 | 'username-property': 'uid' | 51 | 'username-property': 'uid' |
52 | } | 52 | } |
53 | }) | 53 | }) |
@@ -67,7 +67,7 @@ describe('Official plugin auth-ldap', function () { | |||
67 | 'mail-property': 'mail', | 67 | 'mail-property': 'mail', |
68 | 'search-base': 'ou=people,dc=planetexpress,dc=com', | 68 | 'search-base': 'ou=people,dc=planetexpress,dc=com', |
69 | 'search-filter': '(|(mail={{username}})(uid={{username}}))', | 69 | 'search-filter': '(|(mail={{username}})(uid={{username}}))', |
70 | 'url': 'ldap://ldap:389', | 70 | 'url': 'ldap://localhost:389', |
71 | 'username-property': 'uid' | 71 | 'username-property': 'uid' |
72 | } | 72 | } |
73 | }) | 73 | }) |