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