From 26ee349056e6d2bf2a0c974c9cb58492a46ec024 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Thu, 18 Aug 2016 16:02:39 +0200 Subject: [PATCH] =?utf8?q?Kosmetik,=20bessere=20Beschreibung=20f=C3=BCr=20?= =?utf8?q?neuen=20SelfTests=20(#24)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Copy und Paste-Fehler bei Beschreibung im Positiv-Testfall übersehen, sowie Einrückungen verbessert. --- SL/BackgroundJob/SelfTest/Transactions.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SL/BackgroundJob/SelfTest/Transactions.pm b/SL/BackgroundJob/SelfTest/Transactions.pm index 5900689b7..d75a9a991 100644 --- a/SL/BackgroundJob/SelfTest/Transactions.pm +++ b/SL/BackgroundJob/SelfTest/Transactions.pm @@ -599,8 +599,8 @@ sub check_zero_amount_paid_but_datepaid_exists { my $query = qq|(SELECT invnumber,datepaid from ar where datepaid is NOT NULL AND paid = 0 AND id not IN (select trans_id from acc_trans WHERE chart_link like '%paid%' AND acc_trans.trans_id = ar.id) AND datepaid >= ? AND datepaid <= ?) - UNION - (SELECT invnumber,datepaid from ap where datepaid is NOT NULL AND paid = 0 + UNION + (SELECT invnumber,datepaid from ap where datepaid is NOT NULL AND paid = 0 AND id not IN (select trans_id from acc_trans WHERE chart_link like '%paid%' AND acc_trans.trans_id = ap.id) AND datepaid >= ? AND datepaid <= ?)|; @@ -616,7 +616,7 @@ sub check_zero_amount_paid_but_datepaid_exists { Bezahl-Datum: $datepaid_should_be_null_nok->{datepaid}"); } } else { - $self->tester->ok(1, "Hauptbuch Bezahl-Wert und Kreditoren-Nebenbuch-Bezahlwert stimmen überein."); + $self->tester->ok(1, "Kein Bezahl-Datum ohne Bezahl-Wert und ohne wirkliche Zahlungen gefunden (arap.datepaid, arap.paid konsistent)."); } } -- 2.20.1