From 48970a1e13d4bc32e1b4e4d535afe4d7d3c2c4ae Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Mon, 3 Feb 2025 15:42:46 +0100 Subject: [PATCH] =?UTF-8?q?refactor(AuthClientTests):=20Methode=20durch=20?= =?UTF-8?q?einen=20statischen=20Readonly-Delegaten=20f=C3=BCr=20den=20Serv?= =?UTF-8?q?ice=20Provider=20ersetzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DigitalData.Auth.Tests/Client/AuthClientTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DigitalData.Auth.Tests/Client/AuthClientTests.cs b/DigitalData.Auth.Tests/Client/AuthClientTests.cs index 22e88e2..ac35dbf 100644 --- a/DigitalData.Auth.Tests/Client/AuthClientTests.cs +++ b/DigitalData.Auth.Tests/Client/AuthClientTests.cs @@ -9,7 +9,7 @@ public class AuthClientTests { private IAuthClient _client; - private static ServiceProvider Build(Action options) => new ServiceCollection() + private readonly static Func, ServiceProvider> Build = options => new ServiceCollection() .AddAuthHubClient(options) .BuildServiceProvider();