Skip to content

Commit

Permalink
fix(#132): change password to pass validation in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
witash committed Sep 10, 2024
1 parent 2938b1b commit 21163c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mediator/test/cht-resource-factories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const ContactFactory = Factory.define('contact')
export const UserFactory = Factory.define('user')
.option('placeId')
.attr('password', 'Dakar1234')
.attr('username', 'maria')
.attr('username', 'e145bae1-2272-496c-a867-4fcdfc5168a1')
.attr('type', 'chw')
.attr('place', ['placeId'], function (placeId) {
return PlaceFactory.build({}, { placeId });
Expand Down Expand Up @@ -59,7 +59,7 @@ const DocsFactory = Factory.define('docs')
.option('placeId')
.option('contactId')
.option('patientId')
.attr('form', 'interop_follow_up')
.attr('form', 'INTEROP_FOLLOW_UP')
.attr('type', 'data_record')
.attr('contact', ['placeId', 'contactId'], function (placeId, contactId) {
return ContactFactory.attr('_id', contactId).attr('parent', { '_id': placeId }).build();
Expand Down

0 comments on commit 21163c9

Please sign in to comment.