forked from FarmMaps/FarmMapsApiClient
encapsulated nitrogen test flow to allow easier additions of more testflows.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user