mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Update auth revoke test for express 4
This commit is contained in:
parent
453f23da20
commit
8f414ce458
@ -64,7 +64,9 @@ describe("api auth middleware",function() {
|
||||
revokeToken.restore();
|
||||
|
||||
resp.should.equal(200);
|
||||
done();
|
||||
return {
|
||||
end: done
|
||||
}
|
||||
}};
|
||||
|
||||
auth.revoke(req,res);
|
||||
|
Loading…
Reference in New Issue
Block a user