test: pin the words of the malformed-format refusal in both locales (#520)
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 3m10s
All checks were successful
PR Check — Frontend / frontend (pull_request) Successful in 3m10s
Refs #520 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
686768fcc9
commit
5fc4e08ec6
1 changed files with 9 additions and 0 deletions
|
|
@ -1687,6 +1687,15 @@ describe("the texts of a restore with the budget exist in both languages (#520)"
|
|||
}
|
||||
});
|
||||
|
||||
it("carries the refusal of a malformed format number in the words Max chose (PR #533, 2026-11-05)", () => {
|
||||
expect(fr.settings.dataManagement.import.errors.invalidFormatVersion).toBe(
|
||||
"Ce fichier ne peut pas être importé : son numéro de format est invalide. Rien n'a été modifié."
|
||||
);
|
||||
expect(en.settings.dataManagement.import.errors.invalidFormatVersion).toBe(
|
||||
"This file cannot be imported: its format number is invalid. Nothing has been modified."
|
||||
);
|
||||
});
|
||||
|
||||
it("the confirmation names the budget, the budget templates and the adjustments among what is deleted", () => {
|
||||
for (const key of ["willDeleteCategories", "willDeleteAll"] as const) {
|
||||
expect(fr.settings.dataManagement.import[key], `fr.${key}`).toMatch(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue