Skip to content

Commit

Permalink
Phani | Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Phanindra-tw committed Apr 4, 2024
1 parent 8fa211c commit fdf8b0b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ describe('TreatmentController', function () {
$rootScope = _$rootScope_;
$scope = $rootScope.$new();
clinicalAppConfigService = jasmine.createSpyObj('clinicalAppConfigService', ['getVisitTypeForRetrospectiveEntries'])
mockAppDescriptor = jasmine.createSpyObj('appDescriptor', ['getConfig', 'getConfigValue']);
mockAppDescriptor.getConfig.and.returnValue({value: true});
mockAppDescriptor.getConfigValue.and.returnValue(true);
mockAppDescriptor = jasmine.createSpyObj('appDescriptor', ['getExtensionById']);
mockAppDescriptor.getExtensionById.and.returnValue({extensionParams: {sections: {allergies: {}}}});

appService = jasmine.createSpyObj('appService', ['getAppDescriptor']);
appService.getAppDescriptor.and.returnValue(mockAppDescriptor);
Expand Down

0 comments on commit fdf8b0b

Please sign in to comment.