Merge pull request #7094 from abpframework/fix/7088x

Set skipGetAppConfiguration as true in CoreTestingModule when not given
pull/7095/head
Muhammed Altuğ 5 years ago committed by GitHub
commit a625b1f565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,8 +1,8 @@
import { import {
ABP, ABP,
BaseCoreModule, BaseCoreModule,
CORE_OPTIONS,
coreOptionsFactory, coreOptionsFactory,
CORE_OPTIONS,
LIST_QUERY_DEBOUNCE_TIME, LIST_QUERY_DEBOUNCE_TIME,
LOADER_DELAY, LOADER_DELAY,
PermissionService, PermissionService,
@ -34,7 +34,10 @@ export class CoreTestingModule {
{ provide: APP_BASE_HREF, useValue: baseHref }, { provide: APP_BASE_HREF, useValue: baseHref },
{ {
provide: 'CORE_OPTIONS', provide: 'CORE_OPTIONS',
useValue: options, useValue: {
skipGetAppConfiguration: true,
...options,
},
}, },
{ {
provide: CORE_OPTIONS, provide: CORE_OPTIONS,

Loading…
Cancel
Save