ActiveLogin.Authentication icon indicating copy to clipboard operation
ActiveLogin.Authentication copied to clipboard

Update tests to use new HostBuilder from .net core 3.0

Open nikolaykrondev opened this issue 6 years ago • 2 comments

Is your feature request related to a problem? Please describe. .net core 3.0 is using new HostBuilder to create a server when application starts which we don't use in our tests towards AspNetCore. Our code is still using old implementation with WebHostBuilder even thought that all relevant packages were updated to 3.x.x.

What area is it related to

  • ActiveLogin.Authentication.BankId.AspNetCore.Test
  • ActiveLogin.Authentication.GrandId.AspNetCore.Test

Describe the solution you'd like Use HostBuilder instead of WebHostBuilder which will trigger more changes in the related code.

Describe alternatives you've considered N/A

Additional context N/A

nikolaykrondev avatar Dec 28 '19 23:12 nikolaykrondev

This might help: https://andrewlock.net/converting-integration-tests-to-net-core-3/

nikolaykrondev avatar Jan 08 '20 11:01 nikolaykrondev

Cool, that's a nice thing! Good first issue for people.

PeterOrneholm avatar Jan 09 '20 08:01 PeterOrneholm