From 07a15cd5e0e3e0b6a5eeb8c0e82a34d60354883a Mon Sep 17 00:00:00 2001
From: Gulfaraz Rahman <gulfarazyasin@gmail.com>
Date: Mon, 28 Oct 2024 16:34:24 +0100
Subject: [PATCH] test: remove CUSTOM SCHEMA warnings

---
 .../src/app/components/about-btn/about-btn.component.spec.ts    | 2 ++
 .../activation-log-button.component.spec.ts                     | 2 ++
 .../change-password-popover.component.spec.ts                   | 2 ++
 .../community-notification-popup.component.spec.ts              | 2 ++
 .../app/components/export-view/export-view.component.spec.ts    | 2 ++
 .../ibf-guide-button/ibf-guide-button.component.spec.ts         | 2 ++
 .../src/app/components/login-form/login-form.component.spec.ts  | 2 ++
 .../src/app/components/user-state/user-state.component.spec.ts  | 2 ++
 8 files changed, 16 insertions(+)

diff --git a/interfaces/IBF-dashboard/src/app/components/about-btn/about-btn.component.spec.ts b/interfaces/IBF-dashboard/src/app/components/about-btn/about-btn.component.spec.ts
index b1be652f46..45ee4873aa 100644
--- a/interfaces/IBF-dashboard/src/app/components/about-btn/about-btn.component.spec.ts
+++ b/interfaces/IBF-dashboard/src/app/components/about-btn/about-btn.component.spec.ts
@@ -1,4 +1,5 @@
 import { provideHttpClientTesting } from '@angular/common/http/testing';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
 import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
 import { RouterTestingModule } from '@angular/router/testing';
 import { IonicModule } from '@ionic/angular';
@@ -15,6 +16,7 @@ describe('AboutBtnComponent', () => {
   beforeEach(waitForAsync(() => {
     TestBed.configureTestingModule({
       declarations: [AboutBtnComponent],
+      schemas: [CUSTOM_ELEMENTS_SCHEMA],
       imports: [IonicModule, RouterTestingModule],
       providers: [
         provideHttpClient(withInterceptorsFromDi()),
diff --git a/interfaces/IBF-dashboard/src/app/components/activation-log-button/activation-log-button.component.spec.ts b/interfaces/IBF-dashboard/src/app/components/activation-log-button/activation-log-button.component.spec.ts
index 11c570640b..a4895c153e 100644
--- a/interfaces/IBF-dashboard/src/app/components/activation-log-button/activation-log-button.component.spec.ts
+++ b/interfaces/IBF-dashboard/src/app/components/activation-log-button/activation-log-button.component.spec.ts
@@ -1,4 +1,5 @@
 import { provideHttpClientTesting } from '@angular/common/http/testing';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
 import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
 import { RouterTestingModule } from '@angular/router/testing';
 import { IonicModule } from '@ionic/angular';
@@ -16,6 +17,7 @@ describe('ActivationLogButtonComponent', () => {
   beforeEach(waitForAsync(() => {
     TestBed.configureTestingModule({
       declarations: [ActivationLogButtonComponent],
+      schemas: [CUSTOM_ELEMENTS_SCHEMA],
       imports: [
         IonicModule.forRoot(),
         RouterTestingModule,
diff --git a/interfaces/IBF-dashboard/src/app/components/change-password-popover/change-password-popover.component.spec.ts b/interfaces/IBF-dashboard/src/app/components/change-password-popover/change-password-popover.component.spec.ts
index e336310b7a..ab23cd6b09 100644
--- a/interfaces/IBF-dashboard/src/app/components/change-password-popover/change-password-popover.component.spec.ts
+++ b/interfaces/IBF-dashboard/src/app/components/change-password-popover/change-password-popover.component.spec.ts
@@ -1,4 +1,5 @@
 import { provideHttpClientTesting } from '@angular/common/http/testing';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
 import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
 import { FormsModule } from '@angular/forms';
 import { RouterTestingModule } from '@angular/router/testing';
@@ -17,6 +18,7 @@ describe('ChangePasswordPopoverComponent', () => {
   beforeEach(waitForAsync(() => {
     TestBed.configureTestingModule({
       declarations: [ChangePasswordPopoverComponent],
+      schemas: [CUSTOM_ELEMENTS_SCHEMA],
       imports: [IonicModule.forRoot(), FormsModule, RouterTestingModule],
       providers: [
         { provide: AuthService },
diff --git a/interfaces/IBF-dashboard/src/app/components/community-notification-popup/community-notification-popup.component.spec.ts b/interfaces/IBF-dashboard/src/app/components/community-notification-popup/community-notification-popup.component.spec.ts
index 0c566b9152..2004bc2213 100644
--- a/interfaces/IBF-dashboard/src/app/components/community-notification-popup/community-notification-popup.component.spec.ts
+++ b/interfaces/IBF-dashboard/src/app/components/community-notification-popup/community-notification-popup.component.spec.ts
@@ -1,4 +1,5 @@
 import { provideHttpClientTesting } from '@angular/common/http/testing';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
 import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
 import { RouterTestingModule } from '@angular/router/testing';
 import { IonicModule } from '@ionic/angular';
@@ -16,6 +17,7 @@ describe('CommunityNotificationPopupComponent', () => {
   beforeEach(waitForAsync(() => {
     TestBed.configureTestingModule({
       declarations: [CommunityNotificationPopupComponent],
+      schemas: [CUSTOM_ELEMENTS_SCHEMA],
       imports: [IonicModule, RouterTestingModule, TranslateModule.forRoot()],
       providers: [
         provideHttpClient(withInterceptorsFromDi()),
diff --git a/interfaces/IBF-dashboard/src/app/components/export-view/export-view.component.spec.ts b/interfaces/IBF-dashboard/src/app/components/export-view/export-view.component.spec.ts
index 877d034f14..449306dddb 100644
--- a/interfaces/IBF-dashboard/src/app/components/export-view/export-view.component.spec.ts
+++ b/interfaces/IBF-dashboard/src/app/components/export-view/export-view.component.spec.ts
@@ -1,4 +1,5 @@
 import { provideHttpClientTesting } from '@angular/common/http/testing';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
 import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
 import { RouterTestingModule } from '@angular/router/testing';
 import { IonicModule } from '@ionic/angular';
@@ -15,6 +16,7 @@ describe('ExportViewComponent', () => {
   beforeEach(waitForAsync(() => {
     TestBed.configureTestingModule({
       declarations: [ExportViewComponent],
+      schemas: [CUSTOM_ELEMENTS_SCHEMA],
       imports: [IonicModule, RouterTestingModule],
       providers: [
         provideHttpClient(withInterceptorsFromDi()),
diff --git a/interfaces/IBF-dashboard/src/app/components/ibf-guide-button/ibf-guide-button.component.spec.ts b/interfaces/IBF-dashboard/src/app/components/ibf-guide-button/ibf-guide-button.component.spec.ts
index e135887a97..87645bb4f3 100644
--- a/interfaces/IBF-dashboard/src/app/components/ibf-guide-button/ibf-guide-button.component.spec.ts
+++ b/interfaces/IBF-dashboard/src/app/components/ibf-guide-button/ibf-guide-button.component.spec.ts
@@ -1,4 +1,5 @@
 import { provideHttpClientTesting } from '@angular/common/http/testing';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
 import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
 import { RouterTestingModule } from '@angular/router/testing';
 import { IonicModule } from '@ionic/angular';
@@ -16,6 +17,7 @@ describe('IbfGuideButtonComponent', () => {
   beforeEach(waitForAsync(() => {
     TestBed.configureTestingModule({
       declarations: [IbfGuideButtonComponent],
+      schemas: [CUSTOM_ELEMENTS_SCHEMA],
       imports: [IonicModule, RouterTestingModule, TranslateModule.forRoot()],
       providers: [
         provideHttpClient(withInterceptorsFromDi()),
diff --git a/interfaces/IBF-dashboard/src/app/components/login-form/login-form.component.spec.ts b/interfaces/IBF-dashboard/src/app/components/login-form/login-form.component.spec.ts
index 967526db39..479ac20b0a 100644
--- a/interfaces/IBF-dashboard/src/app/components/login-form/login-form.component.spec.ts
+++ b/interfaces/IBF-dashboard/src/app/components/login-form/login-form.component.spec.ts
@@ -1,4 +1,5 @@
 import { provideHttpClientTesting } from '@angular/common/http/testing';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
 import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
 import { FormsModule } from '@angular/forms';
 import { RouterTestingModule } from '@angular/router/testing';
@@ -18,6 +19,7 @@ describe('LoginFormComponent', () => {
   beforeEach(waitForAsync(() => {
     TestBed.configureTestingModule({
       declarations: [LoginFormComponent],
+      schemas: [CUSTOM_ELEMENTS_SCHEMA],
       imports: [
         IonicModule,
         FormsModule,
diff --git a/interfaces/IBF-dashboard/src/app/components/user-state/user-state.component.spec.ts b/interfaces/IBF-dashboard/src/app/components/user-state/user-state.component.spec.ts
index 3934cd2ba7..d8bd572781 100644
--- a/interfaces/IBF-dashboard/src/app/components/user-state/user-state.component.spec.ts
+++ b/interfaces/IBF-dashboard/src/app/components/user-state/user-state.component.spec.ts
@@ -1,4 +1,5 @@
 import { provideHttpClientTesting } from '@angular/common/http/testing';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
 import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
 import { RouterTestingModule } from '@angular/router/testing';
 import { IonicModule } from '@ionic/angular';
@@ -16,6 +17,7 @@ describe('UserStateComponent', () => {
   beforeEach(waitForAsync(() => {
     TestBed.configureTestingModule({
       declarations: [UserStateComponent],
+      schemas: [CUSTOM_ELEMENTS_SCHEMA],
       imports: [IonicModule, RouterTestingModule, TranslateModule.forRoot()],
       providers: [
         provideHttpClient(withInterceptorsFromDi()),