From 82897c2dc6f29a86eb3797e5591f2aed86b5cde2 Mon Sep 17 00:00:00 2001
From: sebo <sebastian.bergandy@external.mgm-cp.com>
Date: Sun, 23 Mar 2025 18:47:45 +0100
Subject: [PATCH] OZG-7473 rename route

Based on CR comment.
---
 alfa-client/apps/admin/src/app/app.component.spec.ts | 2 +-
 alfa-client/libs/admin/shared/src/lib/routes.ts      | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/alfa-client/apps/admin/src/app/app.component.spec.ts b/alfa-client/apps/admin/src/app/app.component.spec.ts
index cc45121d96..3c1142c2c7 100644
--- a/alfa-client/apps/admin/src/app/app.component.spec.ts
+++ b/alfa-client/apps/admin/src/app/app.component.spec.ts
@@ -297,7 +297,7 @@ describe('AppComponent', () => {
       it('should navigate to statistik if aggregation mapping link exists', () => {
         component._navigateByConfiguration(createConfigurationResource([ConfigurationLinkRel.AGGREGATION_MAPPINGS]));
 
-        expect(router.navigate).toHaveBeenCalledWith(['/aggregation-mapping']);
+        expect(router.navigate).toHaveBeenCalledWith(['/auswertung']);
       });
 
       it('should navigate to unavailable page if no link exists', () => {
diff --git a/alfa-client/libs/admin/shared/src/lib/routes.ts b/alfa-client/libs/admin/shared/src/lib/routes.ts
index cf1a221202..6802911d70 100644
--- a/alfa-client/libs/admin/shared/src/lib/routes.ts
+++ b/alfa-client/libs/admin/shared/src/lib/routes.ts
@@ -28,7 +28,7 @@ export enum ROUTES {
   BENUTZER_ID = 'benutzer/:userid',
   ORGANISATIONSEINHEITEN = 'organisationseinheiten',
   UNAVAILABLE = 'unavailable',
-  AGGREGATION_MAPPING = 'aggregation-mapping',
-  AGGREGATION_MAPPING_NEU = 'aggregation-mapping/neu',
-  AGGREGATION_MAPPING_ID = 'aggregation-mapping/:aggregationMappingId',
+  AGGREGATION_MAPPING = 'auswertung',
+  AGGREGATION_MAPPING_NEU = 'auswertung/neu',
+  AGGREGATION_MAPPING_ID = 'auswertung/:aggregationMappingId',
 }
-- 
GitLab