Browse Source

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

Set skipGetAppConfiguration as true in CoreTestingModule when not given
pull/7095/head
Muhammed Altuğ 6 years ago
committed by GitHub
parent
commit
a625b1f565
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      npm/ng-packs/packages/core/testing/src/lib/core-testing.module.ts

7
npm/ng-packs/packages/core/testing/src/lib/core-testing.module.ts

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

Loading…
Cancel
Save