Fixes for payment tests

This commit is contained in:
David Bomba 2023-03-11 14:26:13 +11:00
parent d919134bb9
commit 8bddb49e6c
2 changed files with 0 additions and 3 deletions

View File

@ -83,7 +83,6 @@ class PaymentAppliedValidAmount implements Rule
$invoice_amounts += $invoice['amount'];
$inv = $inv_collection->firstWhere('id', $invoice['invoice_id']);
nlog($inv);
if($inv->balance < $invoice['amount']) {

View File

@ -1392,8 +1392,6 @@ class PaymentTest extends TestCase
$payment = Payment::find($this->decodePrimaryKey($payment_id));
// nlog($payment);
$this->assertNotNull($payment);
$this->assertNotNull($payment->invoices());
$this->assertEquals(1, $payment->invoices()->count());