diff --git a/src/Akka.Persistence.Azure.Tests/AzurePersistenceConfigSpec.cs b/src/Akka.Persistence.Azure.Tests/AzurePersistenceConfigSpec.cs index bd48dc6..52326d5 100644 --- a/src/Akka.Persistence.Azure.Tests/AzurePersistenceConfigSpec.cs +++ b/src/Akka.Persistence.Azure.Tests/AzurePersistenceConfigSpec.cs @@ -97,7 +97,7 @@ public void ShouldThrowArgumentExceptionForIllegalTableNames(string tableName, s table-name = " + tableName + @" }").WithFallback(AzurePersistence.DefaultConfig) .GetConfig("akka.persistence.journal.azure-table")); - createJournalSettings.ShouldThrow(reason); + createJournalSettings.Should().Throw(reason); } [Theory] @@ -113,7 +113,7 @@ public void ShouldThrowArgumentExceptionForIllegalContainerNames(string containe }").WithFallback(AzurePersistence.DefaultConfig) .GetConfig("akka.persistence.snapshot-store.azure-blob-store")); - createSnapshotSettings.ShouldThrow(reason); + createSnapshotSettings.Should().Throw(reason); } } } \ No newline at end of file