Skip to content

Commit

Permalink
Ensure tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Codrut Marin committed Oct 8, 2024
1 parent 6c49256 commit 245d31c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/Proto.Persistence.Tests/ExamplePersistentActorTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -403,11 +403,9 @@ public async Task CanUseSeparateStores(TestProvider testProvider)

context.Send(pid, new Multiply { Amount = 2 });
var eventStoreMessages = new List<object>();
var snapshotStoreMessages = new List<object>();
await eventStore.GetEventsAsync(actorId, 0, 1, (msg, index) => eventStoreMessages.Add(msg));
Assert.Single(eventStoreMessages);
await snapshotStore.GetEventsAsync(actorId, 0, 1, (msg, index) => snapshotStoreMessages.Add(msg));
Assert.Empty(snapshotStoreMessages);
Assert.Null((await snapshotStore.GetSnapshotAsync(actorId)).Snapshot);
}

private (PID pid, Props props, string actorId, IProvider provider) CreateTestActor(IRootContext context,IProvider provider)
Expand Down

0 comments on commit 245d31c

Please sign in to comment.