Skip to content

Commit

Permalink
Use Factories to create docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria Lorena Rodriguez Viruel committed Jul 31, 2024
1 parent 750b3cc commit b5d8b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/upgrade/webapp.wdio-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('Webapp after upgrade', () => {
parent: { _id: 'district' },
});

const report = genericReportFactory.report().build({ form: 'someform' }, { submitter: contact });
const report = genericReportFactory.report().build({ form: 'someform' }, { patient: contact, submitter: contact });

before(async () => {
await utils.saveDocs([district, contact, report]);
Expand Down

0 comments on commit b5d8b48

Please sign in to comment.