Skip to content

Commit

Permalink
fixed test after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
ktuite committed Dec 6, 2024
1 parent 1fec647 commit 53a9799
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/integration/api/offline-entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -1005,9 +1005,13 @@ describe('Offline Entities', () => {
await asAlice.get('/v1/projects/1/forms/offlineEntity/submissions/two-update/audits')
.expect(200)
.then(({ body }) => {
body.length.should.equal(1);
body[0].action.should.eql('submission.create');
should.not.exist(body[0].details.problem);
body.map(a => a.action).should.eql([
'submission.backlog.force',
'submission.backlog.hold',
'submission.create'
]);
body[2].action.should.eql('submission.create');
should.not.exist(body[2].details.problem);
});
}));
});
Expand Down

0 comments on commit 53a9799

Please sign in to comment.