Override externalQueryConfiguration service for ng1 tests

pull/6272/head
Oliver Günther 7 years ago
parent 37a51e6ba8
commit 17c6dfc2e0
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 3
      frontend/app/ng1-overwritten-injections.ts

@ -5,11 +5,13 @@ import {WorkPackageTableRefreshService} from 'core-components/wp-table/wp-table-
import {WorkPackageDisplayFieldService} from 'core-components/wp-display/wp-display-field/wp-display-field.service';
import {WorkPackageEditFieldService} from 'core-components/wp-edit/wp-edit-field/wp-edit-field.service';
import {ConfigurationService} from 'core-components/common/config/configuration.service';
import {ExternalQueryConfigurationService} from "core-components/wp-table/external-configuration/external-query-configuration.service";
class Ng1WorkPackageCacheService extends WorkPackageCacheService {}
class Ng1SchemaCacheService extends SchemaCacheService {}
class Ng1WorkPackageTableRefreshService extends WorkPackageTableRefreshService {}
class Ng1WorkPackageDisplayFieldService extends WorkPackageDisplayFieldService {}
class Ng1ExternalQueryConfigurationService extends ExternalQueryConfigurationService {}
class Ng1WorkPackageEditFieldService extends WorkPackageEditFieldService {}
angular
@ -21,3 +23,4 @@ angular
opWorkPackagesModule.service('wpCacheService', Ng1WorkPackageCacheService);
opWorkPackagesModule.service('schemaCacheService', Ng1SchemaCacheService);
opServicesModule.service('wpTableRefresh', Ng1WorkPackageTableRefreshService);
opServicesModule.service('externalQueryConfiguration', Ng1ExternalQueryConfigurationService);

Loading…
Cancel
Save