views:

8

answers:

0

My aysnc test calls a controller that depends on some values to be present in session, also my controller has [Authorize] attribute on it. So when i run the test, it kicks me to the login page.

What are the best usage patterns in scenarios like this?

Thanks, -Binu