mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
Fixed auth.effects.spec
This commit is contained in:
@@ -21,7 +21,6 @@ import {
|
|||||||
RefreshTokenErrorAction,
|
RefreshTokenErrorAction,
|
||||||
RefreshTokenSuccessAction
|
RefreshTokenSuccessAction
|
||||||
} from './auth.actions';
|
} from './auth.actions';
|
||||||
import { AuthTokenInfo } from './models/auth-token-info.model';
|
|
||||||
import { AuthServiceStub } from '../../shared/testing/auth-service-stub';
|
import { AuthServiceStub } from '../../shared/testing/auth-service-stub';
|
||||||
import { AuthService } from './auth.service';
|
import { AuthService } from './auth.service';
|
||||||
import { TruncatablesState } from '../../shared/truncatable/truncatable.reducer';
|
import { TruncatablesState } from '../../shared/truncatable/truncatable.reducer';
|
||||||
@@ -65,7 +64,6 @@ describe('AuthEffects', () => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
const expected = cold('--b-', {b: new AuthenticationSuccessAction(token)});
|
const expected = cold('--b-', {b: new AuthenticationSuccessAction(token)});
|
||||||
|
|
||||||
expect(authEffects.authenticate$).toBeObservable(expected);
|
expect(authEffects.authenticate$).toBeObservable(expected);
|
||||||
|
Reference in New Issue
Block a user