Skip to content

Commit

Permalink
amend tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-fidd committed Jan 7, 2025
1 parent 3677073 commit 1fba049
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/app-gocardless/banks/tests/ing_ingddeff.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ describe('IngIngddeff', () => {
transaction_total_days: '390',
},
mask: '5030',
name: 'Girokonto (XXX 5030)',
name: 'Girokonto (XXX 5030) EUR',
official_name: 'Girokonto',
type: 'checking',
});
Expand Down
2 changes: 1 addition & 1 deletion src/app-gocardless/banks/tests/ing_pl_ingbplpw.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('IngPlIngbplpw', () => {
"transaction_total_days": "365",
},
"mask": "4321",
"name": "Current Account for Individuals (Retail) (XXX 4321)",
"name": "Current Account for Individuals (Retail) (XXX 4321) PLN",
"official_name": "Current Account for Individuals (Retail)",
"type": "checking",
}
Expand Down
4 changes: 2 additions & 2 deletions src/app-gocardless/banks/tests/integration_bank.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('IntegrationBank', () => {
mask: '4321',
iban: account.iban,
name: 'account-example-one (XXX 4321) PLN',
official_name: 'integration-SANDBOXFINANCE_SFIN0000',
official_name: "Savings Account for Individuals (Retail)",

Check failure on line 26 in src/app-gocardless/banks/tests/integration_bank.spec.js

View workflow job for this annotation

GitHub Actions / lint

Replace `"Savings·Account·for·Individuals·(Retail)"` with `'Savings·Account·for·Individuals·(Retail)'`
type: 'checking',
});
});
Expand All @@ -39,7 +39,7 @@ describe('IntegrationBank', () => {
mask: '0000',
iban: null,
name: 'account-example-one PLN',
official_name: 'integration-SANDBOXFINANCE_SFIN0000',
official_name: "Savings Account for Individuals (Retail)",

Check failure on line 42 in src/app-gocardless/banks/tests/integration_bank.spec.js

View workflow job for this annotation

GitHub Actions / lint

Replace `"Savings·Account·for·Individuals·(Retail)"` with `'Savings·Account·for·Individuals·(Retail)'`
type: 'checking',
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('MbankRetailBrexplpw', () => {
"transaction_total_days": "90",
},
"mask": "4321",
"name": "EKONTO (XXX 4321)",
"name": "EKONTO (XXX 4321) PLN",
"official_name": "RACHUNEK BIEŻĄCY",
"type": "checking",
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('SandboxfinanceSfin0000', () => {
"transaction_total_days": "90",
},
"mask": "4724",
"name": "Main Account (XXX 4724)",
"name": "Main Account (XXX 4724) EUR",
"official_name": "Checkings",
"type": "checking",
}
Expand Down
4 changes: 2 additions & 2 deletions src/app-gocardless/services/tests/gocardless-service.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ describe('goCardlessService', () => {
expect.objectContaining({
account_id: mockDetailedAccountExample1.id,
institution: mockInstitution,
official_name: expect.stringContaining('integration-'), // It comes from IntegrationBank
official_name: 'Savings Account for Individuals (Retail)'

Check failure on line 133 in src/app-gocardless/services/tests/gocardless-service.spec.js

View workflow job for this annotation

GitHub Actions / lint

Insert `,`
}),
expect.objectContaining({
account_id: mockDetailedAccountExample2.id,
institution: mockInstitution,
official_name: expect.stringContaining('integration-'), // It comes from IntegrationBank
official_name: 'Savings Account for Individuals (Retail)',
}),
]),
);
Expand Down

0 comments on commit 1fba049

Please sign in to comment.