mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Add MockAdminGuard as provider
This commit is contained in:
@@ -47,6 +47,7 @@ import { TruncatePipe } from './utils/truncate.pipe';
|
||||
import { TruncatableComponent } from './truncatable/truncatable.component';
|
||||
import { TruncatableService } from './truncatable/truncatable.service';
|
||||
import { TruncatablePartComponent } from './truncatable/truncatable-part/truncatable-part.component';
|
||||
import { MockAdminGuard } from './mocks/mock-admin-guard.service';
|
||||
|
||||
const MODULES = [
|
||||
// Do NOT include UniversalModule, HttpModule, or JsonpModule here
|
||||
@@ -103,7 +104,8 @@ const ENTRY_COMPONENTS = [
|
||||
];
|
||||
|
||||
const PROVIDERS = [
|
||||
TruncatableService
|
||||
TruncatableService,
|
||||
MockAdminGuard
|
||||
];
|
||||
|
||||
const DIRECTIVES = [
|
||||
|
Reference in New Issue
Block a user