Browse Source
Merge pull request #16127 from abpframework/auto-merge/rel-7-1/1838
Merge branch dev with rel-7.1
pull/16131/head
Mahmut Gundogdu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
5 deletions
-
templates/app-nolayers/angular/src/app/home/home.component.spec.ts
-
templates/app/angular/src/app/home/home.component.spec.ts
|
|
|
@ -1,5 +1,4 @@ |
|
|
|
import { CoreTestingModule } from '@abp/ng.core/testing'; |
|
|
|
import { ThemeBasicTestingModule } from '@abp/ng.theme.basic/testing'; |
|
|
|
import { ThemeSharedTestingModule } from '@abp/ng.theme.shared/testing'; |
|
|
|
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing'; |
|
|
|
import { NgxValidateCoreModule } from '@ngx-validate/core'; |
|
|
|
@ -17,7 +16,6 @@ describe('HomeComponent', () => { |
|
|
|
imports: [ |
|
|
|
CoreTestingModule.withConfig(), |
|
|
|
ThemeSharedTestingModule.withConfig(), |
|
|
|
ThemeBasicTestingModule.withConfig(), |
|
|
|
NgxValidateCoreModule, |
|
|
|
], |
|
|
|
providers: [ |
|
|
|
|
|
|
|
@ -1,5 +1,4 @@ |
|
|
|
import { CoreTestingModule } from "@abp/ng.core/testing"; |
|
|
|
import { ThemeBasicTestingModule } from "@abp/ng.theme.basic/testing"; |
|
|
|
import { ThemeSharedTestingModule } from "@abp/ng.theme.shared/testing"; |
|
|
|
import { ComponentFixture, TestBed, waitForAsync } from "@angular/core/testing"; |
|
|
|
import { NgxValidateCoreModule } from "@ngx-validate/core"; |
|
|
|
@ -8,6 +7,7 @@ import { OAuthService } from 'angular-oauth2-oidc'; |
|
|
|
import { AuthService } from '@abp/ng.core'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
describe("HomeComponent", () => { |
|
|
|
let fixture: ComponentFixture<HomeComponent>; |
|
|
|
const mockOAuthService = jasmine.createSpyObj('OAuthService', ['hasValidAccessToken']) |
|
|
|
@ -19,7 +19,6 @@ describe("HomeComponent", () => { |
|
|
|
imports: [ |
|
|
|
CoreTestingModule.withConfig(), |
|
|
|
ThemeSharedTestingModule.withConfig(), |
|
|
|
ThemeBasicTestingModule.withConfig(), |
|
|
|
NgxValidateCoreModule, |
|
|
|
], |
|
|
|
providers: [ |
|
|
|
@ -97,4 +96,4 @@ describe("HomeComponent", () => { |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
|