Fixes tests

parent 0b284779
Pipeline #18360 passed with stages
in 10 minutes and 54 seconds
......@@ -11,6 +11,7 @@ import { CurrentQuizMockService } from '../../service/current-quiz/current-quiz.
import { CurrentQuizService } from '../../service/current-quiz/current-quiz.service';
import { FooterBarService } from '../../service/footer-bar/footer-bar.service';
import { HeaderLabelService } from '../../service/header-label/header-label.service';
import { I18nService } from '../../service/i18n/i18n.service';
import { SettingsService } from '../../service/settings/settings.service';
import { SharedService } from '../../service/shared/shared.service';
import { IndexedDbService } from '../../service/storage/indexed.db.service';
......@@ -48,7 +49,7 @@ describe('ThemeSwitcherComponent', () => {
}),
],
providers: [
IndexedDbService, {
I18nService, IndexedDbService, {
provide: StorageService,
useClass: StorageServiceMock,
}, HeaderLabelService, ThemesService, {
......
......@@ -10,6 +10,7 @@ import { ConnectionService } from '../service/connection/connection.service';
import { CurrentQuizMockService } from '../service/current-quiz/current-quiz.mock.service';
import { CurrentQuizService } from '../service/current-quiz/current-quiz.service';
import { FooterBarService } from '../service/footer-bar/footer-bar.service';
import { I18nService } from '../service/i18n/i18n.service';
import { SettingsService } from '../service/settings/settings.service';
import { SharedService } from '../service/shared/shared.service';
import { IndexedDbService } from '../service/storage/indexed.db.service';
......@@ -46,7 +47,7 @@ describe('ThemesComponent', () => {
}),
],
providers: [
IndexedDbService, {
I18nService, IndexedDbService, {
provide: StorageService,
useClass: StorageServiceMock,
}, TranslateService, FooterBarService, SettingsService, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment