Skip to content

Commit 358a2ca

Browse files
committed
BAH-4203 | Fix condition service test
1 parent 0d5254d commit 358a2ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ui/test/unit/common/domain/services/conditionsService.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ describe("conditionsService", function () {
2727

2828
conditionsService.save(conditions, 'patientUuid').then(function () {
2929
expect(_$http.post.calls.mostRecent().args[0]).toEqual(Bahmni.Common.Constants.conditionUrl);
30-
expect(_$http.post.calls.mostRecent().args[1].length).toBe(1);
31-
expect(_$http.post.calls.mostRecent().args[1][0].unwantedProperty).toBeUndefined();
30+
expect(_$http.post.calls.mostRecent().args[1].unwantedProperty).toBeUndefined();
3231
}).catch(notifyError).finally(done);
3332
});
3433
});

0 commit comments

Comments
 (0)