From b4b49023de5a22eb6d635606fc224302794a30d2 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 17 Feb 2022 10:11:26 +1100 Subject: [PATCH] Zoho Imports --- tests/Feature/Import/Zoho/ZohoTest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/Feature/Import/Zoho/ZohoTest.php b/tests/Feature/Import/Zoho/ZohoTest.php index e976f086c2e5..7f10e39b13ec 100644 --- a/tests/Feature/Import/Zoho/ZohoTest.php +++ b/tests/Feature/Import/Zoho/ZohoTest.php @@ -331,14 +331,12 @@ class ZohoTest extends TestCase $invoice_id = $base_transformer->getInvoiceId("INV-000003"); $invoice = Invoice::find($invoice_id); -nlog($invoice->toArray()); - $this->assertEquals(390 , $invoice->amount); - // $this->assertEquals(390 , $invoice->balance); + $this->assertEquals(1 , $invoice->status_id); + $this->assertEquals(0 , $invoice->balance); $this->assertEquals(4 , count($invoice->line_items)); $this->assertFalse($invoice->payments()->exists()); - // $this->assertEquals(3500.41, $invoice->payments->first()->amount); }