encapsulated nitrogen test flow to allow easier additions of more testflows.

This commit is contained in:
2020-04-06 11:51:42 +02:00
parent 7559b1ef78
commit e01ac51095
4 changed files with 118 additions and 111 deletions

View File

@@ -25,7 +25,7 @@ namespace FarmmapsApiSamples
.AddFilter("System.Net.Http", LogLevel.Warning))
.AddFarmmapsServices(configuration)
.AddTransient<NitrogenService>()
.AddSingleton<IApp, NbsApp>()
.AddSingleton<IApp, Application>()
.BuildServiceProvider();
await serviceProvider.GetService<FarmmapsApiService>().AuthenticateAsync();