We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab580f6 commit 3e16970Copy full SHA for 3e16970
src/ServiceControl.Transports.Tests/TransportTestFixture.cs
@@ -13,6 +13,7 @@
13
using NServiceBus.Logging;
14
using NServiceBus.Transport;
15
using NUnit.Framework;
16
+ using ServiceControl.Infrastructure;
17
using ServiceControl.Infrastructure.TestLogger;
18
using Transports;
19
@@ -24,6 +25,7 @@ public virtual async Task Setup()
24
25
{
26
//TODO remove LogManager usage
27
LogManager.UseFactory(new ExtensionsLoggerFactory(new TestContextAppenderFactory()));
28
+ LoggerUtil.ActiveLoggers = Loggers.Test;
29
configuration = new TransportTestsConfiguration();
30
testCancellationTokenSource = Debugger.IsAttached ? new CancellationTokenSource() : new CancellationTokenSource(TestTimeout);
31
registrations = [];
0 commit comments