updated money
package to 5.0 version
This commit is contained in:
@ -75,13 +75,13 @@ class PaymentTestCase extends FeatureTestCase
|
||||
} elseif ($this->invoice_currency != null) {
|
||||
$this->dispatch(new CreateCurrency([
|
||||
'company_id' => company_id(),
|
||||
'name' => config('money.' . $this->invoice_currency . '.name'),
|
||||
'name' => config('money.currencies.' . $this->invoice_currency . '.name'),
|
||||
'code' => $this->invoice_currency,
|
||||
'rate' => config(['money.' . $this->invoice_currency . '.rate' => 1]),
|
||||
'enabled' => 1,
|
||||
'symbol_first' => config('money.' . $this->invoice_currency . '.symbol_first'),
|
||||
'decimal_mark' => config('money.' . $this->invoice_currency . '.decimal_mark'),
|
||||
'thousands_separator' => config('money.' . $this->invoice_currency . '.thousands_separator'),
|
||||
'symbol_first' => config('money.currencies.' . $this->invoice_currency . '.symbol_first'),
|
||||
'decimal_mark' => config('money.currencies.' . $this->invoice_currency . '.decimal_mark'),
|
||||
'thousands_separator' => config('money.currencies.' . $this->invoice_currency . '.thousands_separator'),
|
||||
'default_currency' => true,
|
||||
]));
|
||||
}
|
||||
|
Reference in New Issue
Block a user