pipe fixes and conversion

This commit is contained in:
Denys Vuika
2024-09-19 14:27:17 -04:00
parent 7b88c10137
commit 6d9838eaf4
10 changed files with 24 additions and 57 deletions

View File

@@ -17,7 +17,7 @@
import { SimpleChange } from '@angular/core';
import { ComponentFixture, getTestBed } from '@angular/core/testing';
import { AppConfigService, AppConfigServiceMock, FormRenderingService, LocalizedDatePipe, NoopTranslateModule } from '@alfresco/adf-core';
import { AppConfigService, AppConfigServiceMock, FormRenderingService, NoopTranslateModule } from '@alfresco/adf-core';
import { of, throwError } from 'rxjs';
import { MatSelectChange } from '@angular/material/select';
import { ProcessService } from '../../services/process.service';
@@ -59,7 +59,6 @@ describe('StartProcessComponent', () => {
getTestBed().configureTestingModule({
imports: [NoopTranslateModule, NoopAnimationsModule, StartProcessInstanceComponent],
providers: [
LocalizedDatePipe,
{ provide: FormRenderingService, useClass: ProcessFormRenderingService },
{ provide: AppConfigService, useClass: AppConfigServiceMock }
]

View File

@@ -65,6 +65,7 @@ const PROCESS_DEFINITION_IDENTIFIER_REG_EXP = new RegExp('%{processdefinition}',
EmptyContentComponent,
StartFormComponent
],
providers: [LocalizedDatePipe],
templateUrl: './start-process.component.html',
styleUrls: ['./start-process.component.scss'],
encapsulation: ViewEncapsulation.None