From: Jan Büren Date: Thu, 18 Aug 2016 14:02:39 +0000 (+0200) Subject: Kosmetik, bessere Beschreibung für neuen SelfTests (#24) X-Git-Tag: release-3.5.4~2124 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=26ee349056e6d2bf2a0c974c9cb58492a46ec024;p=kivitendo-erp.git Kosmetik, bessere Beschreibung für neuen SelfTests (#24) Copy und Paste-Fehler bei Beschreibung im Positiv-Testfall übersehen, sowie Einrückungen verbessert. --- 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)."); } }