Skip to content

Commit cf5ba30

Browse files
authored
Merge pull request #392 from ml054/v5.2
fixing tests
2 parents 8406ef4 + c42cbdf commit cf5ba30

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/Ported/Issues/RavenDB_14724.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe("RavenDB_14724", function () {
2020
const id = "users/1";
2121

2222
{
23-
await testContext.setupRevisions(store, false, 5);
23+
await testContext.setupRevisions(store, true, 5);
2424

2525
{
2626
const session = store.openSession();
@@ -47,14 +47,14 @@ describe("RavenDB_14724", function () {
4747
assertThat(revisions)
4848
.hasSize(2);
4949

50+
await session.delete(id);
51+
await session.saveChanges();
52+
5053
const configuration = new RevisionsConfiguration();
5154
configuration.defaultConfig = null;
5255

5356
const operation = new ConfigureRevisionsOperation(configuration);
5457
await store.maintenance.send(operation);
55-
56-
await session.delete(id);
57-
await session.saveChanges();
5858
}
5959

6060
{

0 commit comments

Comments
 (0)