Skip to content

Commit

Permalink
Merge pull request #1 from dxiao/patch-1
Browse files Browse the repository at this point in the history
Update testing/integration.md to use ResetAllMartenDataAsync()
  • Loading branch information
dxiao authored Nov 14, 2024
2 parents 8fafc73 + 53142f3 commit 1bd152c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/testing/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,9 @@ public abstract class IntegrationContext : IAsyncLifetime

public async Task InitializeAsync()
{
// Using Marten, wipe out all data and reset the state
await Store.Advanced.ResetAllData();
// Using Marten, wipe out all data and reset the state.
// Also restart the async daemon if in use.
await Host.ResetAllMartenDataAsync();
}

// This is required because of the IAsyncLifetime
Expand Down

0 comments on commit 1bd152c

Please sign in to comment.