mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
119602: Add AccessibilitySettingsService tests
This commit is contained in:
@@ -54,6 +54,10 @@ export class AuthServiceStub {
|
||||
return observableOf(EPersonMock);
|
||||
}
|
||||
|
||||
getAuthenticatedUserFromStoreIfAuthenticated(): Observable<EPerson> {
|
||||
return observableOf(EPersonMock);
|
||||
}
|
||||
|
||||
public buildAuthHeader(token?: AuthTokenInfo): string {
|
||||
return `Bearer ${token ? token.accessToken : ''}`;
|
||||
}
|
||||
|
Reference in New Issue
Block a user