test: adjust tests to config init changes

This commit is contained in:
Jovan Krunić
2022-02-09 21:28:18 +01:00
parent c9720dc104
commit 19b36c07b7
7 changed files with 61 additions and 45 deletions

View File

@@ -15,9 +15,9 @@ export class NavigationService {
async getMenu() {
let menu: SCAppConfigurationMenuCategory[] = [];
try {
menu = (await this.configProvider.getValue(
menu = this.configProvider.getValue(
'menus',
)) as SCAppConfigurationMenuCategory[];
) as SCAppConfigurationMenuCategory[];
} catch (error) {
this.logger.error(`error from loading menu entries: ${error}`);
}