Fixup the test using fallbackEmail

This commit is contained in:
Johannes Zellner
2018-01-22 11:52:58 +01:00
parent 6fdb093595
commit cf94f26d62
6 changed files with 24 additions and 9 deletions
+2 -2
View File
@@ -402,10 +402,10 @@ describe('Ldap', function () {
expect(entries[0].username).to.equal(USER_0.username.toLowerCase());
expect(entries[0].mailAlternateAddress).to.equal(USER_0.email.toLowerCase());
expect(entries[0].mail).to.equal(USER_0.username.toLowerCase() + '@example.com');
expect(entries[0].mail).to.equal(USER_0.email.toLowerCase());
expect(entries[1].username).to.equal(USER_1.username.toLowerCase());
expect(entries[1].mailAlternateAddress).to.equal(USER_1.email.toLowerCase());
expect(entries[1].mail).to.equal(USER_1.username.toLowerCase() + '@example.com');
expect(entries[1].mail).to.equal(USER_1.email.toLowerCase());
client.unbind();