From 590b2e78d5b72974f0d6511281d4f83fcb7a2cf5 Mon Sep 17 00:00:00 2001 From: Meysam Hadeli <35596795+meysamhadeli@users.noreply.github.com> Date: Sun, 12 May 2024 17:55:04 +0000 Subject: [PATCH] chore: Improve registeration services injection in test base. --- src/BuildingBlocks/TestBase/TestBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BuildingBlocks/TestBase/TestBase.cs b/src/BuildingBlocks/TestBase/TestBase.cs index c066dc3..0e87026 100644 --- a/src/BuildingBlocks/TestBase/TestBase.cs +++ b/src/BuildingBlocks/TestBase/TestBase.cs @@ -119,7 +119,7 @@ public class TestFixture : IAsyncLifetime public virtual void RegisterServices(Action services) { - TestRegistrationServices = services; + TestRegistrationServices += services; } // ref: https://github.com/trbenning/serilog-sinks-xunit