[DURACOM-191] Remove register-email-form.module, form.module, shared-browse-by.module and process-page-shared.module

This commit is contained in:
Giuseppe Digilio
2024-03-14 14:11:55 +01:00
parent e153ca3e89
commit cb44f0a098
22 changed files with 29 additions and 464 deletions

View File

@@ -30,7 +30,6 @@ import { TestScheduler } from 'rxjs/testing';
import {
APP_CONFIG,
APP_DATA_SERVICES_MAP,
APP_DYNAMIC_FORM_CONTROL_FN,
} from 'src/config/app-config.interface';
import { environment } from 'src/environments/environment.test';
@@ -68,6 +67,7 @@ import {
ResourcePolicyEvent,
ResourcePolicyFormComponent,
} from './resource-policy-form.component';
import { DYNAMIC_FORM_CONTROL_MAP_FN } from '@ng-dynamic-forms/core';
export const mockResourcePolicyFormData = {
name: [
@@ -233,7 +233,7 @@ describe('ResourcePolicyFormComponent test suite', () => {
{ provide: SubmissionService, useValue: {} },
{ provide: APP_CONFIG, useValue: environment },
{ provide: APP_DATA_SERVICES_MAP, useValue: {} },
{ provide: APP_DYNAMIC_FORM_CONTROL_FN, useValue: dsDynamicFormControlMapFn },
{ provide: DYNAMIC_FORM_CONTROL_MAP_FN, useValue: dsDynamicFormControlMapFn },
provideMockStore({}),
],
schemas: [