mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
angular cli
This commit is contained in:
19
src/app/shared/testing/search-configuration-service.stub.ts
Normal file
19
src/app/shared/testing/search-configuration-service.stub.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { BehaviorSubject, of as observableOf } from 'rxjs';
|
||||
|
||||
export class SearchConfigurationServiceStub {
|
||||
|
||||
private searchOptions: BehaviorSubject<any> = new BehaviorSubject<any>({});
|
||||
private paginatedSearchOptions: BehaviorSubject<any> = new BehaviorSubject<any>({});
|
||||
|
||||
getCurrentFrontendFilters() {
|
||||
return observableOf([]);
|
||||
}
|
||||
|
||||
getCurrentScope(a) {
|
||||
return observableOf('test-id');
|
||||
}
|
||||
|
||||
getCurrentConfiguration(a) {
|
||||
return observableOf(a);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user