Skip to content

Commit

Permalink
Fix one more mocha unit test in forms service
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandro-bulgaris-qcif committed Jun 25, 2024
1 parent 0e55a36 commit 028f083
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/unit/services/FormsService.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ describe('The FormsService', function () {
};
FormsService.getForm(brand, '', true, '', record).subscribe(form => {
expect(form).to.have.property('name', formName);
// expect(true).to.eq(true);
done();
})
});
Expand All @@ -58,8 +57,7 @@ describe('The FormsService', function () {
}
};
FormsService.getForm(brand, '', true, '', record).subscribe(form => {
// expect(form).to.have.property('name', formName);
expect(true).to.eq(true);
expect(form).to.have.property('name', formName);
done();
})
});
Expand All @@ -69,7 +67,6 @@ describe('The FormsService', function () {
let formName = 'default-1.0-draft';
FormsService.getForm(brand, formName, true, 'rdmp', {}).subscribe(form => {
expect(form).to.have.property('name', formName);
// expect(true).to.eq(true);
done();
})
});
Expand All @@ -79,7 +76,6 @@ describe('The FormsService', function () {
let formName = 'generated-view-only';
FormsService.getForm(brand, formName, true, 'rdmp', {}).subscribe(form => {
expect(form).to.have.property('name', formName);
//expect(true).to.eq(true);
done();
})
});
Expand Down

0 comments on commit 028f083

Please sign in to comment.