diff --git a/tests/GameCult.Networking.Tests/CultCachePublicationIsolationTests.cs b/tests/GameCult.Networking.Tests/CultCachePublicationIsolationTests.cs index 33d1100d..8b6106ec 100644 --- a/tests/GameCult.Networking.Tests/CultCachePublicationIsolationTests.cs +++ b/tests/GameCult.Networking.Tests/CultCachePublicationIsolationTests.cs @@ -77,7 +77,7 @@ namespace GameCult.Networking.Tests var seen = new ConcurrentQueue(); using var watch = database.Watch().Subscribe(change => seen.Enqueue(change.Document?.Text)); var boom = new CultRecordKey("pub:boom"); - var escaped = Assert.ThrowsAsync(() => cache.UpsertAsync(Note("boom"), new CultRecordHandle(boom))); + var escaped = Assert.ThrowsAsync(() => database.PutAsync(boom, Note("boom"))); ObservableSystem.RegisterUnhandledExceptionHandler(previous); var after = new CultRecordKey("pub:after");