mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
@@ -155,6 +155,10 @@ describe("api/auth/users", function() {
|
||||
});
|
||||
|
||||
describe('#get',function() {
|
||||
it("returns null for tokenHeader", function() {
|
||||
should.not.exist(Users.tokenHeader());
|
||||
});
|
||||
|
||||
it('delegates get user',function(done) {
|
||||
Users.get('dave').then(function(user) {
|
||||
try {
|
||||
|
Reference in New Issue
Block a user