mirror of
https://github.com/thelounge/thelounge.git
synced 2026-03-14 14:35:50 +01:00
parent
d8a6b137fe
commit
fe4e0343a4
5 changed files with 31 additions and 14 deletions
|
|
@ -150,6 +150,11 @@ describe("LDAP authentication plugin", function() {
|
|||
Helper.config.ldap.primaryKey = primaryKey;
|
||||
});
|
||||
|
||||
afterEach(function() {
|
||||
Helper.config.public = true;
|
||||
Helper.config.ldap.enable = false;
|
||||
});
|
||||
|
||||
describe("LDAP authentication availability", function() {
|
||||
it("checks that the configuration is correctly tied to isEnabled()", function() {
|
||||
Helper.config.ldap.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue