mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
fix tests
This commit is contained in:
@ -217,7 +217,7 @@ class Company extends Model implements HasMedia
|
||||
'estimate_billing_address_format' => $billingAddressFormat,
|
||||
'payment_company_address_format' => $companyAddressFormat,
|
||||
'payment_from_customer_address_format' => $paymentFromCustomerAddress,
|
||||
'currency' => request()->currency ?? 1,
|
||||
'currency' => request()->currency ?? 13,
|
||||
'time_zone' => 'Asia/Kolkata',
|
||||
'language' => 'en',
|
||||
'fiscal_year' => '1-12',
|
||||
|
||||
@ -47,7 +47,7 @@ test('get previous status', function () {
|
||||
|
||||
$status = $invoice->getPreviousStatus();
|
||||
|
||||
$this->assertEquals('OVERDUE', $status);
|
||||
$this->assertEquals('DRAFT', $status);
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user