diff --git a/test/fixtures/.thelounge/sts-policies.json b/test/fixtures/.thelounge/sts-policies.json index cd021aa5..2d93740b 100644 --- a/test/fixtures/.thelounge/sts-policies.json +++ b/test/fixtures/.thelounge/sts-policies.json @@ -3,6 +3,6 @@ "host": "irc.example.com", "port": 7000, "duration": 3600, - "expires": 1654050976399 + "expires": 1654061648263 } ] diff --git a/test/plugins/auth/ldap.ts b/test/plugins/auth/ldap.ts index 98a34d48..62a57980 100644 --- a/test/plugins/auth/ldap.ts +++ b/test/plugins/auth/ldap.ts @@ -136,11 +136,9 @@ describe("LDAP authentication plugin", function () { this.slow(300); let server: ldap.Server; - let infoLogStub: any; before(function (done) { - infoLogStub = sinon.stub(log, "info"); - + sinon.stub(log, "info"); server = startLdapServer(done); }); @@ -148,7 +146,6 @@ describe("LDAP authentication plugin", function () { server.close(() => { // no-op }); - sinon.restore(); });