New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Test for login functionality #6909
Comments
You can take a look at this project to test your Controllers https://github.com/aspnetboilerplate/aspnetboilerplate/tree/dev/test/Abp.AspNetCore.Tests. But, since this requires DB connection, you also need to use InMemory db in your tests. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can I create a test to verify my API login functionality? In the context of ABP, login occurs in the Web.Core module, specifically in the TokenAuthController. I am experiencing challenges when trying to use TokenAuthController in my testing and am seeking guidance on the most effective approach to accomplish this task.
Abp package version: 6.0.0
Base Framework: .Net Core 5
The text was updated successfully, but these errors were encountered: