Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prior preparation of Unitary and Functional Test schemes. First Stage #2256

Closed
wants to merge 20 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
57527ac
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 2, 2025
41611be
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 2, 2025
e1cc86c
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 2, 2025
c4057fa
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 3, 2025
d82681e
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 3, 2025
f17fcc8
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 3, 2025
e9f2892
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 3, 2025
73ad6f5
Upgrade to latest Angular 14
NeftaliYagua Feb 3, 2025
0e3e007
Upgrade to latest Angular 14
NeftaliYagua Feb 3, 2025
997342c
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 4, 2025
bfeb0e4
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 4, 2025
f8f5f7f
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 4, 2025
6aaf61f
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 5, 2025
4b55b81
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 5, 2025
50e0a8d
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 5, 2025
e34c065
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 5, 2025
a6faaf5
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 5, 2025
1233b61
Prior preparation of Unitary and Functional Test schemes. First Stage
NeftaliYagua Feb 5, 2025
e445f76
Merge branch 'openMF:master' into master
NeftaliYagua Feb 7, 2025
6b15194
Merge branch 'openMF:master' into master
NeftaliYagua Feb 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
429 changes: 268 additions & 161 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"cypress:run": "cypress run"
},
"dependencies": {
"@angular-devkit/schematics": "14.2.12",
"@angular-devkit/schematics": "14.2.13",
"@angular-material-components/datetime-picker": "8.0.0",
"@angular/animations": "14.3.0",
"@angular/cdk": "14.2.7",
Expand Down Expand Up @@ -70,13 +70,13 @@
"zone.js": "0.11.6"
},
"devDependencies": {
"@angular-devkit/build-angular": "14.2.12",
"@angular-devkit/build-angular": "14.2.13",
"@angular-eslint/builder": "14.4.0",
"@angular-eslint/eslint-plugin": "14.4.0",
"@angular-eslint/eslint-plugin-template": "14.4.0",
"@angular-eslint/schematics": "14.4.0",
"@angular-eslint/template-parser": "14.4.0",
"@angular/cli": "14.2.12",
"@angular/cli": "14.2.13",
"@angular/compiler-cli": "14.3.0",
"@angular/language-service": "14.3.0",
"@biesbjerg/ngx-translate-extract": "^7.0.4",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** Angular Imports */
import { NgModule } from '@angular/core';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

/** Custom Components */
Expand Down Expand Up @@ -111,6 +111,9 @@ const routes: Routes = [
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
declarations: [],
schemas: [
CUSTOM_ELEMENTS_SCHEMA
],
providers: [
ViewStandingInstructionsResolver,
StandingInstructionsDataAndTemplateResolver,
Expand Down
6 changes: 4 additions & 2 deletions src/app/account-transfers/account-transfers.module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/** Angular Imports */
import { NgModule } from '@angular/core';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';

/** Custom Modules */
import { AccountTransfersRoutingModule } from './account-transfers-routing.module';
Expand Down Expand Up @@ -36,6 +36,8 @@ import { ViewAccountTransferComponent } from './view-account-transfer/view-accou
ListTransactionsComponent,
ViewAccountTransferComponent
],
providers: []
schemas: [
CUSTOM_ELEMENTS_SCHEMA
]
})
export class AccountTransfersModule {}
Original file line number Diff line number Diff line change
@@ -1,14 +1,43 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { CreateStandingInstructionsComponent } from './create-standing-instructions.component';
import { ReactiveFormsModule } from '@angular/forms';
import { ActivatedRoute } from '@angular/router';
import { of } from 'rxjs';
import { HttpClientModule } from '@angular/common/http';
import { RouterTestingModule } from '@angular/router/testing';
import { DatePipe } from '@angular/common';
import { CommonModule } from '@angular/common';
import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
import { TranslateFakeLoader } from '@ngx-translate/core';

describe('CreateStandingInstructionsComponent', () => {
let component: CreateStandingInstructionsComponent;
let fixture: ComponentFixture<CreateStandingInstructionsComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [CreateStandingInstructionsComponent]
declarations: [CreateStandingInstructionsComponent],
imports: [
ReactiveFormsModule,
HttpClientModule,
RouterTestingModule,
CommonModule,
TranslateModule.forRoot({
loader: { provide: TranslateLoader, useClass: TranslateFakeLoader }
})

],
providers: [
DatePipe,
{
provide: ActivatedRoute,
useValue: {
params: of({ id: '123' }),
queryParams: of({})
}
}
]
}).compileComponents();
}));

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,40 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { EditStandingInstructionsComponent } from './edit-standing-instructions.component';
import { ReactiveFormsModule } from '@angular/forms';
import { ActivatedRoute } from '@angular/router';
import { of } from 'rxjs';
import { RouterTestingModule } from '@angular/router/testing';
import { HttpClientModule } from '@angular/common/http';
import { CommonModule, DatePipe } from '@angular/common';
import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core';

describe('EditStandingInstructionsComponent', () => {
let component: EditStandingInstructionsComponent;
let fixture: ComponentFixture<EditStandingInstructionsComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [EditStandingInstructionsComponent]
declarations: [EditStandingInstructionsComponent],
imports: [
ReactiveFormsModule,
RouterTestingModule,
HttpClientModule,
CommonModule,
TranslateModule.forRoot({
loader: { provide: TranslateLoader, useClass: TranslateFakeLoader }
})

],
providers: [
DatePipe,
{
provide: ActivatedRoute,
useValue: {
params: of({ id: '123' }) // Proporciona los parámetros necesarios para ActivatedRoute
}
}
]
}).compileComponents();
}));

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,41 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { ListStandingInstructionsComponent } from './list-standing-instructions.component';
import { ReactiveFormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { RouterTestingModule } from '@angular/router/testing';
import { CommonModule, DatePipe } from '@angular/common';
import { MAT_DIALOG_DATA, MatDialogModule, MatDialogRef } from '@angular/material/dialog';
import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';

describe('ListStandingInstructionsComponent', () => {
let component: ListStandingInstructionsComponent;
let fixture: ComponentFixture<ListStandingInstructionsComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ListStandingInstructionsComponent]
declarations: [ListStandingInstructionsComponent],
imports: [
ReactiveFormsModule,
HttpClientModule,
RouterTestingModule,
CommonModule,
MatDialogModule,
TranslateModule.forRoot({
loader: { provide: TranslateLoader, useClass: TranslateFakeLoader }
})

],
providers: [
DatePipe,
{
provide: MatDialogRef,
useValue: {}
},
{ provide: MAT_DIALOG_DATA, useValue: {} }
],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
}).compileComponents();
}));

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,31 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { ListTransactionsComponent } from './list-transactions.component';
import { RouterTestingModule } from '@angular/router/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { CommonModule } from '@angular/common';
import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';

describe('ListTransactionsComponent', () => {
let component: ListTransactionsComponent;
let fixture: ComponentFixture<ListTransactionsComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ListTransactionsComponent]
declarations: [ListTransactionsComponent],
imports: [
RouterTestingModule,
ReactiveFormsModule,
HttpClientModule,
CommonModule,
TranslateModule.forRoot({
loader: { provide: TranslateLoader, useClass: TranslateFakeLoader }
})

],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
}).compileComponents();
}));

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,35 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { MakeAccountTransfersComponent } from './make-account-transfers.component';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterTestingModule } from '@angular/router/testing';
import { HttpClientModule } from '@angular/common/http';
import { CommonModule } from '@angular/common';
import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core';
import { DatePipe } from '@angular/common';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';

describe('MakeAccountTransfersComponent', () => {
let component: MakeAccountTransfersComponent;
let fixture: ComponentFixture<MakeAccountTransfersComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [MakeAccountTransfersComponent]
declarations: [MakeAccountTransfersComponent],
imports: [
ReactiveFormsModule,
RouterTestingModule,
HttpClientModule,
CommonModule,
TranslateModule.forRoot({
loader: { provide: TranslateLoader, useClass: TranslateFakeLoader }
})

],
providers: [DatePipe],
schemas: [
CUSTOM_ELEMENTS_SCHEMA
]
}).compileComponents();
}));

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,34 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { ViewAccountTransferComponent } from './view-account-transfer.component';
import { RouterModule } from '@angular/router';
import { RouterTestingModule } from '@angular/router/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { CommonModule } from '@angular/common';
import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core';
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';

describe('ViewAccountTransferComponent', () => {
let component: ViewAccountTransferComponent;
let fixture: ComponentFixture<ViewAccountTransferComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ViewAccountTransferComponent]
declarations: [ViewAccountTransferComponent],
imports: [
RouterTestingModule,
ReactiveFormsModule,
HttpClientModule,
CommonModule,
TranslateModule.forRoot({
loader: { provide: TranslateLoader, useClass: TranslateFakeLoader }
})

],
schemas: [
CUSTOM_ELEMENTS_SCHEMA
]
}).compileComponents();
}));

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { ViewStandingInstructionsComponent } from './view-standing-instructions.component';
import { RouterTestingModule } from '@angular/router/testing';
import { ReactiveFormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { CommonModule } from '@angular/common';
import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core';

describe('ViewStandingInstructionsComponent', () => {
let component: ViewStandingInstructionsComponent;
let fixture: ComponentFixture<ViewStandingInstructionsComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [ViewStandingInstructionsComponent]
declarations: [ViewStandingInstructionsComponent],
imports: [
RouterTestingModule,
ReactiveFormsModule,
HttpClientModule,
CommonModule,
TranslateModule.forRoot({
loader: { provide: TranslateLoader, useClass: TranslateFakeLoader }
})

]
}).compileComponents();
}));

Expand Down
5 changes: 4 additions & 1 deletion src/app/accounting/accounting-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** TODO: Separate routing into feature modules for cleaner accounting module. */

/** Angular Imports */
import { NgModule } from '@angular/core';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

/** Routing Imports */
Expand Down Expand Up @@ -395,6 +395,9 @@ const routes: Routes = [
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
schemas: [
CUSTOM_ELEMENTS_SCHEMA
],
providers: [
OfficesResolver,
AccountingRulesAssociationsResolver,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,34 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core';

import { AccountingRulesComponent } from './accounting-rules.component';
import { ReactiveFormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { RouterTestingModule } from '@angular/router/testing';
import { CommonModule } from '@angular/common';
import { TranslateFakeLoader, TranslateLoader, TranslateModule } from '@ngx-translate/core';

describe('AccountingRulesComponent', () => {
let component: AccountingRulesComponent;
let fixture: ComponentFixture<AccountingRulesComponent>;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [AccountingRulesComponent]
declarations: [AccountingRulesComponent],
imports: [
ReactiveFormsModule,
RouterTestingModule,
HttpClientModule,
CommonModule,
TranslateModule.forRoot({
loader: { provide: TranslateLoader, useClass: TranslateFakeLoader }
})

],
schemas: [
CUSTOM_ELEMENTS_SCHEMA,
NO_ERRORS_SCHEMA
]
}).compileComponents();
}));

Expand Down
Loading
Loading