Skip to content

Commit 9fda5a7

Browse files
committed
Swap the assert
1 parent 7636b9d commit 9fda5a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceControl.Persistence.Tests/EnsureSettingsInContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)