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

@@ -69,9 +69,9 @@ export class DaiaDataProvider {
async getAvailability(id: string): Promise<SCDaiaHoldings[] | undefined> {
if (typeof this.daiaServiceUrl === 'undefined') {
try {
const features = (await this.configProvider.getValue(
const features = this.configProvider.getValue(
'features',
)) as SCFeatureConfiguration;
) as SCFeatureConfiguration;
if (features.extern?.daia?.url) {
this.daiaServiceUrl = features.extern?.daia?.url;
} else {