1
0
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:
Nick O'Leary 2015-10-03 20:32:24 +01:00
parent 453f23da20
commit 8f414ce458

View File

@ -64,7 +64,9 @@ describe("api auth middleware",function() {
revokeToken.restore(); revokeToken.restore();
resp.should.equal(200); resp.should.equal(200);
done(); return {
end: done
}
}}; }};
auth.revoke(req,res); auth.revoke(req,res);