From 54162224f3a095ff3afbccc297598be76698b301 Mon Sep 17 00:00:00 2001 From: Faustin Date: Wed, 30 Oct 2024 16:28:09 +0100 Subject: [PATCH 1/2] feat/tasks created by filter --- src/app/tasks/services/tasks-filters.service.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/tasks/services/tasks-filters.service.ts b/src/app/tasks/services/tasks-filters.service.ts index 2f2e6e0f1..eb3498e41 100644 --- a/src/app/tasks/services/tasks-filters.service.ts +++ b/src/app/tasks/services/tasks-filters.service.ts @@ -141,6 +141,11 @@ export class TasksFiltersService implements FiltersServiceOptionsInterface Date: Thu, 31 Oct 2024 09:36:00 +0100 Subject: [PATCH 2/2] fix: tests --- src/app/tasks/services/tasks-filters.service.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tasks/services/tasks-filters.service.spec.ts b/src/app/tasks/services/tasks-filters.service.spec.ts index 8f0601cfc..58f19a663 100644 --- a/src/app/tasks/services/tasks-filters.service.spec.ts +++ b/src/app/tasks/services/tasks-filters.service.spec.ts @@ -93,7 +93,7 @@ describe('TasksFilterService', () => { test('the service must return the right label with filterFor options', () => { const mockLabelFilterOptions = service.retrieveLabel(service.filtersDefinitions[18].for, (service.filtersDefinitions[18].field as TaskFilterField)); - expect(mockLabelFilterOptions).toEqual('Application Service'); + expect(mockLabelFilterOptions).toEqual('Application Namespace'); }); test('the service must throw an error ', () => {