You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2022. It is now read-only.
I use the authorize method inside a model and it runs fine. But when i run my tests, the method will not be called. If icall my route via a rest client i can see the console.log('authorize') , when run test the method will not called.
test('Get a list of all stored users',async({ assert, client })=>{constresponse=awaitclient.get('/users').loginVia(user.email,'Start12#','basic').end();response.assertStatus(200);}).timeout(30000);
Bug, or did i miss something?
The text was updated successfully, but these errors were encountered:
Hi!
I use the authorize method inside a model and it runs fine. But when i run my tests, the method will not be called. If icall my route via a rest client i can see the console.log('authorize') , when run test the method will not called.
the test:
Bug, or did i miss something?
The text was updated successfully, but these errors were encountered: