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)