Skip to content
Snippets Groups Projects
Verified Commit 82897c2d authored by Sebastian Bergandy's avatar Sebastian Bergandy :keyboard:
Browse files

OZG-7473 rename route

Based on CR comment.
parent 86a9a269
Branches
Tags
1 merge request!104Administration: Neu hinzugefügte Felder für Statistik speichern
...@@ -297,7 +297,7 @@ describe('AppComponent', () => { ...@@ -297,7 +297,7 @@ describe('AppComponent', () => {
it('should navigate to statistik if aggregation mapping link exists', () => { it('should navigate to statistik if aggregation mapping link exists', () => {
component._navigateByConfiguration(createConfigurationResource([ConfigurationLinkRel.AGGREGATION_MAPPINGS])); 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', () => { it('should navigate to unavailable page if no link exists', () => {
......
...@@ -28,7 +28,7 @@ export enum ROUTES { ...@@ -28,7 +28,7 @@ export enum ROUTES {
BENUTZER_ID = 'benutzer/:userid', BENUTZER_ID = 'benutzer/:userid',
ORGANISATIONSEINHEITEN = 'organisationseinheiten', ORGANISATIONSEINHEITEN = 'organisationseinheiten',
UNAVAILABLE = 'unavailable', UNAVAILABLE = 'unavailable',
AGGREGATION_MAPPING = 'aggregation-mapping', AGGREGATION_MAPPING = 'auswertung',
AGGREGATION_MAPPING_NEU = 'aggregation-mapping/neu', AGGREGATION_MAPPING_NEU = 'auswertung/neu',
AGGREGATION_MAPPING_ID = 'aggregation-mapping/:aggregationMappingId', AGGREGATION_MAPPING_ID = 'auswertung/:aggregationMappingId',
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment