Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryT-CG committed Aug 4, 2024
1 parent 56ae410 commit 7ac2fbf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/theme/theme-search/theme-search.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7ac2fbf

Please sign in to comment.