Skip to content

Commit

Permalink
Improve forms service unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandro-bulgaris-qcif committed Jun 26, 2024
1 parent 7a8aa43 commit 8e31a5f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/unit/services/FormsService.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,13 @@ describe('The FormsService', function () {
})
});

it('should get default-1.0-draft form', function (done) {
it('should get dataPublication-1.0-embargoed form', function (done) {

var formName = 'dataPublication-1.0-embargoed';

FormsService.getFormByName( formName, true).subscribe(function(form) {
FormsService.getFormByName(formName, true).subscribe(function(form) {
console.log(form)
// expect(form).to.have.property('name', formName);
expect(true).to.eq(true)
expect(form).to.have.property('name', formName);
done();
})
});
Expand Down

0 comments on commit 8e31a5f

Please sign in to comment.