forked from hazza/dspace-angular
Merge branch 'master' into Login-as-EPerson
Conflicts: src/app/+admin/admin-access-control/epeople-registry/eperson-form/eperson-form.component.spec.ts src/app/core/auth/auth.service.spec.ts src/app/profile-page/profile-page.component.spec.ts
This commit is contained in:
@@ -5,11 +5,11 @@ import { By } from '@angular/platform-browser';
|
||||
import { Store, StoreModule } from '@ngrx/store';
|
||||
|
||||
import { authReducer, AuthState } from '../../core/auth/auth.reducer';
|
||||
import { EPersonMock } from '../testing/eperson-mock';
|
||||
import { EPersonMock } from '../testing/eperson.mock';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { AppState } from '../../app.reducer';
|
||||
import { AppState, storeModuleConfig } from '../../app.reducer';
|
||||
import { AuthNavMenuComponent } from './auth-nav-menu.component';
|
||||
import { HostWindowServiceStub } from '../testing/host-window-service-stub';
|
||||
import { HostWindowServiceStub } from '../testing/host-window-service.stub';
|
||||
import { HostWindowService } from '../host-window.service';
|
||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { AuthTokenInfo } from '../../core/auth/models/auth-token-info.model';
|
||||
@@ -63,7 +63,12 @@ describe('AuthNavMenuComponent', () => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [
|
||||
NoopAnimationsModule,
|
||||
StoreModule.forRoot(authReducer),
|
||||
StoreModule.forRoot(authReducer, {
|
||||
runtimeChecks: {
|
||||
strictStateImmutability: false,
|
||||
strictActionImmutability: false
|
||||
}
|
||||
}),
|
||||
TranslateModule.forRoot()
|
||||
],
|
||||
declarations: [
|
||||
@@ -252,7 +257,12 @@ describe('AuthNavMenuComponent', () => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [
|
||||
NoopAnimationsModule,
|
||||
StoreModule.forRoot(authReducer),
|
||||
StoreModule.forRoot(authReducer, {
|
||||
runtimeChecks: {
|
||||
strictStateImmutability: false,
|
||||
strictActionImmutability: false
|
||||
}
|
||||
}),
|
||||
TranslateModule.forRoot()
|
||||
],
|
||||
declarations: [
|
||||
|
Reference in New Issue
Block a user