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
It is recommended to use OpenId requests to simulate requests in unit tests
We can use password streams to simulate different permission levels by creating users with different permissions
I'm validating this idea based on version 1.8.
The text was updated successfully, but these errors were encountered:
I found that the authorisation used in our unit test was simulated, causing it to run differently than it would in a real environment
OrchardCore/test/OrchardCore.Tests/Apis/Context/AuthenticationContext.cs
Lines 37 to 66 in ba5e8c0
It is recommended to use OpenId requests to simulate requests in unit tests
We can use password streams to simulate different permission levels by creating users with different permissions
I'm validating this idea based on version 1.8.
The text was updated successfully, but these errors were encountered: