From f65a36b61e1559f9a796f274e7724c00c0ae45af Mon Sep 17 00:00:00 2001 From: DominikIwanek Date: Mon, 9 Dec 2024 15:24:23 +0100 Subject: [PATCH] [ACS-9068] [ACA] - Pipeline changes enabling packagage release --- .../src/rule-set-picker/rule-set-picker.smart-component.spec.ts | 2 +- .../src/rule-set-picker/rule-set-picker.smart-component.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/aca-content/folder-rules/src/rule-set-picker/rule-set-picker.smart-component.spec.ts b/projects/aca-content/folder-rules/src/rule-set-picker/rule-set-picker.smart-component.spec.ts index d173bf87d2..4cd53532d5 100644 --- a/projects/aca-content/folder-rules/src/rule-set-picker/rule-set-picker.smart-component.spec.ts +++ b/projects/aca-content/folder-rules/src/rule-set-picker/rule-set-picker.smart-component.spec.ts @@ -77,7 +77,7 @@ describe('RuleSetPickerSmartComponent', () => { fixture = TestBed.createComponent(RuleSetPickerSmartComponent); component = fixture.componentInstance; - loadRuleSetsSpy = spyOn(folderRuleSetsService, 'loadRuleSets').and.callThrough(); + loadRuleSetsSpy = spyOn(component.folderRuleSetsService, 'loadRuleSets').and.callThrough(); callApiSpy = spyOn(folderRuleSetsService, 'callApi'); callApiSpy .withArgs(`/nodes/${dialogOptions.nodeId}/rule-sets?include=isLinkedTo,owningFolder,linkedToBy&skipCount=0&maxItems=100`, 'GET') diff --git a/projects/aca-content/folder-rules/src/rule-set-picker/rule-set-picker.smart-component.ts b/projects/aca-content/folder-rules/src/rule-set-picker/rule-set-picker.smart-component.ts index 9f32096961..df6ea2f392 100644 --- a/projects/aca-content/folder-rules/src/rule-set-picker/rule-set-picker.smart-component.ts +++ b/projects/aca-content/folder-rules/src/rule-set-picker/rule-set-picker.smart-component.ts @@ -76,7 +76,7 @@ export class RuleSetPickerSmartComponent implements OnInit { private folderLoading$ = new BehaviorSubject(true); public readonly data: RuleSetPickerOptions = inject(MAT_DIALOG_DATA); - private readonly folderRuleSetsService = inject(FolderRuleSetsService); + public readonly folderRuleSetsService = inject(FolderRuleSetsService); private readonly dialogRef = inject(MatDialogRef); private readonly notificationService = inject(NotificationService); private readonly destroyRef = inject(DestroyRef);