Base solution for your next web application
Open Closed

Test fails is UserDelegation is disabled #8770


User avatar
0
jeromerenaglia created

Hello

I disbled UserDelegation by changing IsEnabled = false in UserDelegationConfiguration I I get 3 test fails : DelegateNewUser_Tests RemoveDelegation_Test Remove_Different_Users_Delegation_Test

All these test are calling CheckUserDelegationOperation method containing this code

        if (!_userDelegationConfiguration.IsEnabled)
       {
           throw new Exception("User delegation configuration is not enabled !");
       }

Regards


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    hi jeromerenaglia

    I will fix it, thanks for the feedback.

  • User Avatar
    0
    maliming created
    Support Team

    https://github.com/aspnetzero/aspnet-zero-core/pull/3118