mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
AAE-36484 upgrade to standalone api (#4661)
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
import { RuleTriggersUiComponent } from './rule-triggers.ui-component';
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { CoreTestingModule } from '@alfresco/adf-core';
|
||||
import { NoopTranslateModule } from '@alfresco/adf-core';
|
||||
import { DebugElement } from '@angular/core';
|
||||
import { By } from '@angular/platform-browser';
|
||||
import { AlfrescoApiService, AlfrescoApiServiceMock } from '@alfresco/adf-content-services';
|
||||
@@ -42,7 +42,7 @@ describe('RuleTriggerUiComponent', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [CoreTestingModule, RuleTriggersUiComponent],
|
||||
imports: [NoopTranslateModule, RuleTriggersUiComponent],
|
||||
providers: [{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock }]
|
||||
});
|
||||
|
||||
|
@@ -26,11 +26,11 @@ import { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';
|
||||
import { Component, forwardRef, ViewEncapsulation } from '@angular/core';
|
||||
import { RuleTrigger } from '../../model/rule.model';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { TranslatePipe } from '@ngx-translate/core';
|
||||
import { MatCheckboxModule } from '@angular/material/checkbox';
|
||||
|
||||
@Component({
|
||||
imports: [CommonModule, TranslateModule, MatCheckboxModule],
|
||||
imports: [CommonModule, TranslatePipe, MatCheckboxModule],
|
||||
selector: 'aca-rule-triggers',
|
||||
templateUrl: './rule-triggers.ui-component.html',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
|
Reference in New Issue
Block a user