From 6a4acc1639b4d0670970d856c887c25fde0f75b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Batuhan=20Ba=C5=9F?= Date: Tue, 9 Oct 2018 16:06:37 +0300 Subject: [PATCH] Payment test modify --- tests/Feature/Expenses/PaymentsTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Feature/Expenses/PaymentsTest.php b/tests/Feature/Expenses/PaymentsTest.php index ce1a71ee7..9a0300ac7 100644 --- a/tests/Feature/Expenses/PaymentsTest.php +++ b/tests/Feature/Expenses/PaymentsTest.php @@ -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,