refactor(AuthClientTests): Methode durch einen statischen Readonly-Delegaten für den Service Provider ersetzen
This commit is contained in:
parent
0614b205bd
commit
48970a1e13
@ -9,7 +9,7 @@ public class AuthClientTests
|
||||
{
|
||||
private IAuthClient _client;
|
||||
|
||||
private static ServiceProvider Build(Action<ClientParams> options) => new ServiceCollection()
|
||||
private readonly static Func<Action<ClientParams>, ServiceProvider> Build = options => new ServiceCollection()
|
||||
.AddAuthHubClient(options)
|
||||
.BuildServiceProvider();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user