Skip to content

Commit

Permalink
feature(policy): #832 added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-mmaul committed Jun 13, 2024
1 parent 480d47d commit 951e2c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { I18NEXT_SERVICE, ITranslationService } from 'angular-i18next';
import { of, Subject } from 'rxjs';
import { PolicyEditorComponent } from './policy-editor.component';

fdescribe('PolicyEditorComponent', () => {
describe('PolicyEditorComponent', () => {
let mockPoliciesFacade: Partial<PoliciesFacade>;
let mockToastService: Partial<ToastService>;
let mockRouter: Partial<Router>;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/modules/shared/service/policy.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class PolicyService {
const body = {
policyIds: [ policyEntry.payload.policy.policyId ],
validUntil: policyEntry.validUntil,
businessPartnerNumber: policyEntry.businessPartnerNumber,
businessPartnerNumbers: policyEntry.businessPartnerNumber,
};

return this.apiService.put(`${ this.url }/policies`, body);
Expand Down

0 comments on commit 951e2c7

Please sign in to comment.