commit
46af851e81
@ -70,13 +70,13 @@ class PaymentsTest extends FeatureTestCase
|
||||
return [
|
||||
'company_id' => $this->company->id,
|
||||
'account_id' => setting('general.default_account'),
|
||||
'vendor_id' => '',
|
||||
'paid_at' => $this->faker->date(),
|
||||
'amount' => $this->faker->randomFloat(2, 2),
|
||||
'currency_code' => setting('general.default_currency'),
|
||||
'currency_rate' => '1',
|
||||
'vendor_id' => setting('general.default_vendor'),
|
||||
'description' => $this->faker->text(5),
|
||||
'category_id' => $this->company->categories()->type('income')->first()->id,
|
||||
'category_id' => $this->company->categories()->type('expense')->first()->id,
|
||||
'payment_method' => setting('general.default_payment_method'),
|
||||
'reference' => $this->faker->text(5),
|
||||
'attachment' => $attachment,
|
||||
|
Loading…
x
Reference in New Issue
Block a user