Minor fixes for tests

This commit is contained in:
David Bomba 2022-11-03 19:58:36 +11:00
parent f40360e1fe
commit 27a721af05

View File

@ -80,7 +80,7 @@ class InventoryManagementTest extends TestCase
])->post('/api/v1/invoices/', $invoice_array)
->assertStatus(200);
$product = $product->refresh();
$product = $product->fresh();
$this->assertEquals(90, $product->in_stock_quantity);