Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ml054 committed Aug 3, 2023
1 parent 279cbc5 commit c42cbdf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/Ported/Issues/RavenDB_14724.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("RavenDB_14724", function () {
const id = "users/1";

{
await testContext.setupRevisions(store, false, 5);
await testContext.setupRevisions(store, true, 5);

{
const session = store.openSession();
Expand All @@ -47,14 +47,14 @@ describe("RavenDB_14724", function () {
assertThat(revisions)
.hasSize(2);

await session.delete(id);
await session.saveChanges();

const configuration = new RevisionsConfiguration();
configuration.defaultConfig = null;

const operation = new ConfigureRevisionsOperation(configuration);
await store.maintenance.send(operation);

await session.delete(id);
await session.saveChanges();
}

{
Expand Down

0 comments on commit c42cbdf

Please sign in to comment.