File tree Expand file tree Collapse file tree 5 files changed +8
-6
lines changed
ServiceControl.Persistence.Tests
ServiceControl.Transports.Tests
ServiceControlInstaller.Engine.UnitTests/Configuration Expand file tree Collapse file tree 5 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 5252 <PackageVersion Include =" NServiceBus.Transport.PostgreSql" Version =" 8.1.9" />
5353 <PackageVersion Include =" NuGet.Versioning" Version =" 6.14.0" />
5454 <PackageVersion Include =" NUnit" Version =" 4.4.0" />
55- <PackageVersion Include =" NUnit.Analyzers" Version =" 4.7 .0" />
55+ <PackageVersion Include =" NUnit.Analyzers" Version =" 4.10 .0" />
5656 <PackageVersion Include =" NUnit3TestAdapter" Version =" 5.2.0" />
5757 <PackageVersion Include =" OpenTelemetry.Exporter.Console" Version =" 1.9.0" />
5858 <PackageVersion Include =" OpenTelemetry.Exporter.OpenTelemetryProtocol" Version =" 1.9.0" />
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public void CheckForBothTypes()
1313 var baseSettings = ServiceProvider . GetRequiredService < PersistenceSettings > ( ) ;
1414
1515 var actualType = baseSettings . GetType ( ) ;
16- Assert . That ( typeof ( PersistenceSettings ) , Is . Not . EqualTo ( actualType ) ) ;
16+ Assert . That ( actualType , Is . Not . EqualTo ( typeof ( PersistenceSettings ) ) ) ;
1717
1818 // Persistence implementation must also register the same singleton as the persister-specific type
1919 var settingsAsActualType = ServiceProvider . GetRequiredService ( actualType ) ;
Original file line number Diff line number Diff line change 77 using ServiceControl . Infrastructure ;
88
99 [ TestFixture ]
10- class FullEndpointTestFixture
10+
11+ abstract class FullEndpointTestFixture
1112 {
1213 [ SetUp ]
1314 public virtual async Task Setup ( )
Original file line number Diff line number Diff line change 1818 using Transports ;
1919
2020 [ TestFixture ]
21- class TransportTestFixture
21+
22+ abstract class TransportTestFixture
2223 {
2324 [ SetUp ]
2425 public virtual async Task Setup ( )
2526 {
26- //used for loggers outside of ServiceControl (i.e. transports and core) to use the logger factory defined here
27+ //used for loggers outside ServiceControl (i.e. transports and core) to use the logger factory defined here
2728 LogManager . UseFactory ( new ExtensionsLoggerFactory ( new TestContextAppenderFactory ( Microsoft . Extensions . Logging . LogLevel . Warning ) ) ) ;
2829 LoggerUtil . ActiveLoggers = Loggers . Test ;
2930 configuration = new TransportTestsConfiguration ( ) ;
Original file line number Diff line number Diff line change 33 using System . IO ;
44 using NUnit . Framework ;
55
6- public class InstallationFixture
6+ public abstract class InstallationFixture
77 {
88 [ SetUp ]
99 public void SetUp ( )
You can’t perform that action at this time.
0 commit comments