[DURACOM-191] fix tests

This commit is contained in:
Andrea Barbasso
2024-02-01 17:52:19 +01:00
parent dc8d3ace09
commit 16bd9b17ac
5 changed files with 10 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ import { InputSuggestionsComponent } from '../../../../../../shared/input-sugges
import { NgClass, NgFor, AsyncPipe } from '@angular/common';
import { DebounceDirective } from '../../../../../../shared/utils/debounce.directive';
import { ClickOutsideDirective } from '../../../../../../shared/utils/click-outside.directive';
import { TranslateModule } from '@ngx-translate/core';
@Component({
selector: 'ds-org-unit-input-suggestions',
@@ -19,7 +20,7 @@ import { ClickOutsideDirective } from '../../../../../../shared/utils/click-outs
}
],
standalone: true,
imports: [FormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, AsyncPipe]
imports: [FormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, AsyncPipe, TranslateModule]
})
/**

View File

@@ -16,6 +16,7 @@ import {
ProfilePageSecurityFormComponent
} from '../../profile-page/profile-page-security-form/profile-page-security-form.component';
import { AsyncPipe, NgIf } from '@angular/common';
import { BrowserOnlyPipe } from '../../shared/utils/browser-only.pipe';
@Component({
selector: 'ds-forgot-password-form',
@@ -23,6 +24,7 @@ import { AsyncPipe, NgIf } from '@angular/common';
templateUrl: './forgot-password-form.component.html',
imports: [
TranslateModule,
BrowserOnlyPipe,
ProfilePageSecurityFormComponent,
AsyncPipe,
NgIf

View File

@@ -10,6 +10,7 @@ import { ListableObjectComponentLoaderComponent } from '../../object-collection/
import { NgClass, NgFor, AsyncPipe } from '@angular/common';
import { DebounceDirective } from '../../utils/debounce.directive';
import { ClickOutsideDirective } from '../../utils/click-outside.directive';
import { TranslateModule } from '@ngx-translate/core';
@Component({
selector: 'ds-dso-input-suggestions',
@@ -25,7 +26,7 @@ import { ClickOutsideDirective } from '../../utils/click-outside.directive';
}
],
standalone: true,
imports: [FormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, ListableObjectComponentLoaderComponent, AsyncPipe]
imports: [FormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, ListableObjectComponentLoaderComponent, AsyncPipe, TranslateModule]
})
/**

View File

@@ -16,12 +16,13 @@ import { ControlValueAccessor, FormsModule } from '@angular/forms';
import { NgClass, NgFor, AsyncPipe } from '@angular/common';
import { DebounceDirective } from '../utils/debounce.directive';
import { ClickOutsideDirective } from '../utils/click-outside.directive';
import { TranslateModule } from '@ngx-translate/core';
@Component({
selector: 'ds-input-suggestions',
templateUrl: './input-suggestions.component.html',
standalone: true,
imports: [FormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, AsyncPipe]
imports: [FormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, AsyncPipe, TranslateModule]
})
/**

View File

@@ -8,6 +8,7 @@ import { InputSuggestion } from '../input-suggestions.model';
import { NgClass, NgFor, AsyncPipe } from '@angular/common';
import { DebounceDirective } from '../../utils/debounce.directive';
import { ClickOutsideDirective } from '../../utils/click-outside.directive';
import { TranslateModule } from '@ngx-translate/core';
@Component({
selector: 'ds-validation-suggestions',
@@ -23,7 +24,7 @@ import { ClickOutsideDirective } from '../../utils/click-outside.directive';
}
],
standalone: true,
imports: [FormsModule, ReactiveFormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, AsyncPipe]
imports: [FormsModule, ReactiveFormsModule, ClickOutsideDirective, DebounceDirective, NgClass, NgFor, AsyncPipe, TranslateModule]
})
/**