public override void SetUp(DeauthenticationControllerTestSetupRepository setupRepository) { _testOutputHelper.WriteLine("21 Setup"); base.SetUp(setupRepository); setupRepository.SetUpInsertDataForCase21(); }
public void Test(AuthControllerTestRepository authControllerTestRepository, DeauthenticationControllerTestSetupRepository setupRepository, AuthHttpClientWrapper httpClientWrapper) { SetUp(setupRepository); var response = httpClientWrapper.PostDeauthentication(_deauthenticationRequest); AssertThat(authControllerTestRepository, response); }
public virtual void SetUp(DeauthenticationControllerTestSetupRepository setupRepository) { setupRepository.SetUpInsertBaseDataForMainDb(); setupRepository.SetUpInsertBaseDataForRadiusDb(); }
public void Test(ITestOutputHelper testOutputHelper, AuthControllerTestRepository authControllerTestRepository, DeauthenticationControllerTestSetupRepository setupRepository, AuthHttpClientWrapper httpClientWrapper) { _testOutputHelper = testOutputHelper; Test(authControllerTestRepository, setupRepository, httpClientWrapper); }
public DeauthenticationControllerTests(WebApplicationFactory <Startup> factory, ITestOutputHelper testOutputHelper) : base(factory, testOutputHelper) { _setupRepository = new DeauthenticationControllerTestSetupRepository(MainDbContext, RadiusDbContext); _repository = new AuthControllerTestRepository(MainDbContext, RadiusDbContext); _client = new AuthHttpClientWrapper(Client); }