From 7ac2fbf66e3e44b3d4d86a598e0934516eed92d7 Mon Sep 17 00:00:00 2001 From: Henry Taeschner Date: Sun, 4 Aug 2024 06:24:56 +0200 Subject: [PATCH] fix: tests --- src/app/theme/theme-search/theme-search.component.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/theme/theme-search/theme-search.component.spec.ts b/src/app/theme/theme-search/theme-search.component.spec.ts index e71737c..e5e8204 100644 --- a/src/app/theme/theme-search/theme-search.component.spec.ts +++ b/src/app/theme/theme-search/theme-search.component.spec.ts @@ -66,7 +66,10 @@ describe('ThemeSearchComponent', () => { } spyOn(translateService, 'get').and.returnValues(of(actionsTranslations), of(generalTranslations)) const themesResponse = { - stream: [{ name: 'theme1' }, { name: 'theme2' }] + stream: [ + { name: 'theme1', displayName: 'Theme 1' }, + { name: 'theme2', displayName: 'Theme 2' } + ] } const themesObservable = of(themesResponse as any) themeApiSpy.getThemes.and.returnValue(themesObservable)