ensure auth tests have a proper delay set

It needs a small delay to test with.
This commit is contained in:
Ben West
2026-01-19 18:50:11 -08:00
parent 7a2d345491
commit 93945b749e
+1 -1
View File
@@ -21,7 +21,7 @@ describe('Security of REST API V1', function() {
process.env.API_SECRET = 'this is my long pass phrase';
self.env = require('../lib/server/env')();
self.env.settings.authDefaultRoles = 'denied';
self.env.settings.authFailDelay = 0;
self.env.settings.authFailDelay = 50;
this.wares = require('../lib/middleware/')(self.env);
self.app = require('express')();
self.app.enable('api');