test: fix testing error

pull/3910/head
mehmet-erim 5 years ago
parent 49046a3ba8
commit 05c59b6fd3

@ -306,6 +306,7 @@ describe('ConfigState', () => {
const configuration = {
setting: { values: { 'Abp.Localization.DefaultLanguage': 'tr;TR' } },
localization: { currentCulture: {} },
};
const res$ = new ReplaySubject(1);
@ -324,7 +325,7 @@ describe('ConfigState', () => {
timer(0).subscribe(() => {
expect(patchStateArg).toEqual(configuration);
expect(dispatchArg instanceof SetLanguage).toBeTruthy();
expect(dispatchArg).toEqual({ payload: 'tr' });
expect(dispatchArg).toEqual({ payload: 'tr', dispatchAppConfiguration: false });
done();
});
});

Loading…
Cancel
Save