Un lot invalide est refusé sans rien écrire CPC-028
À tester
Automatisable
Desktop
Instructions
Tenter de valider un lot déséquilibré (même d'un centime), une ligne seule, une ligne sans montant, au débit et au crédit, négative, sans libellé, un compte ou journal inconnu ou désactivé, un lot sans référence ou sans date. Attendu : refus qui nomme la ligne fautive, rien n'est écrit.
Liens
Aucun lien.
Tests automatiques liés
| Source | Référence du test | Niveau |
|---|---|---|
| phpunit | EntryTest::testABatchThatBalancesByAHundredthIsStillRefused | full |
| phpunit | EntryTest::testABatchWithoutADateIsRefused | full |
| phpunit | EntryTest::testABatchWithoutAReferenceIsRefused | full |
| phpunit | EntryTest::testADeactivatedAccountIsRefused | full |
| phpunit | EntryTest::testADeactivatedJournalIsRefused | full |
| phpunit | EntryTest::testALineCarryingBothADebitAndACreditIsRefused | full |
| phpunit | EntryTest::testALineFieldThatIsNotATextValueIsRefused | full |
| phpunit | EntryTest::testALineWithNoAmountIsRefused | full |
| phpunit | EntryTest::testALineWithNoWordingIsRefused | full |
| phpunit | EntryTest::testAMovementOffByAThousandthIsNotReadAsBalanced | full |
| phpunit | EntryTest::testANegativeAmountIsRefusedRatherThanFlipped | full |
| phpunit | EntryTest::testAnUnbalancedBatchIsRefusedAndWritesNothing | full |
| phpunit | EntryTest::testAnUnknownAccountIsRefusedAndNamesItsLine | full |
| phpunit | EntryTest::testAnUnknownJournalIsRefused | full |
| phpunit | EntryTest::testAReferenceCarryingATabOrALineBreakIsRefused | full |
| phpunit | EntryTest::testASalesJournalRefusesAHandTypedBatch | full |
| phpunit | EntryTest::testASingleLineIsRefused | full |
| phpunit | EntryTest::testASubledgerLabelCarryingATabIsRefusedOnItsLine | full |
| phpunit | EntryTest::testTheBalanceIsCheckedOnTheStoredPrecision | full |
| phpunit | EntryTest::testTooManyLinesAreRefusedRatherThanTruncated | full |
| playwright | 07-entry-keyboard.spec.js::un lot déséquilibré ne peut pas être validé, et le dit | full |
| vitest | amounts.test.js::draftTotals reports an unreadable amount instead of reading it as zero | partial |
| vitest | amounts.test.js::draftTotals rounds each line before summing, as the server does | partial |
| vitest | apiErrors.test.js::apiErrors projette code, phrase et corps pour une écriture refusée | partial |
Vidéos de test
Aucune vidéo. Les tests automatiques publient ici la vidéo de référence (succès, une seule fois) et, en cas d'échec, la vidéo d'échec à comparer.
Historique des verdicts
Aucun verdict enregistré.
Discussion
Aucun commentaire pour l'instant.