Skip to content

Commit

Permalink
chore: fix import in identity-provider module (#1094)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhhyi authored Mar 30, 2022
1 parent da47c91 commit 4ac7ace
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/core/identity-provider.module.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { isPlatformBrowser } from '@angular/common';
import { HttpHandler, HttpRequest } from '@angular/common/http';
import { NgModule, PLATFORM_ID } from '@angular/core';
import { ModuleWithProviders, NgModule, PLATFORM_ID } from '@angular/core';
import { OAuthModule, OAuthStorage } from 'angular-oauth2-oidc';
import { NgModuleWithProviders } from 'ng-mocks';
import { noop } from 'rxjs';

import { PunchoutIdentityProviderModule } from '../extensions/punchout/identity-provider/punchout-identity-provider.module';
Expand Down Expand Up @@ -47,7 +46,7 @@ export function storageFactory(platformId: string): OAuthStorage {
export class IdentityProviderModule {
static forTesting(
capabilities: IdentityProviderCapabilities = { editEmail: true, editPassword: true, editProfile: true }
): NgModuleWithProviders {
): ModuleWithProviders<IdentityProviderModule> {
return {
ngModule: IdentityProviderModule,
providers: [
Expand Down

0 comments on commit 4ac7ace

Please sign in to comment.