stefanos.lidas@gmail.com的活动

This will change the _currentUser of every test. The crux of my question is precisely how to avoid that and instead be able to assign a User to each test separately when needed, or be able to rerun a test as a user that has different roles as shown in a tiny code snippet in my initial question.

[Fact] public async Task Test() { //As User.... }

What you are showing me will simply change the default test user which isn't what I want to do.

显示 1 个条目中的 1 到 1 个.
Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11