Merge pull request #291 from meysamhadeli/develop

chore: Improve registeration services injection in test base.
This commit is contained in:
Meysam Hadeli 2024-05-12 19:57:35 +02:00 committed by GitHub
commit a718a47de7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,7 +119,7 @@ public class TestFixture<TEntryPoint> : IAsyncLifetime
public virtual void RegisterServices(Action<IServiceCollection> services) public virtual void RegisterServices(Action<IServiceCollection> services)
{ {
TestRegistrationServices = services; TestRegistrationServices += services;
} }
// ref: https://github.com/trbenning/serilog-sinks-xunit // ref: https://github.com/trbenning/serilog-sinks-xunit