Reviewed all tests for Travis

This commit is contained in:
Batuhan Baş
2019-04-02 18:51:06 +03:00
parent e6560f88a6
commit 9e0cdec575
22 changed files with 39 additions and 45 deletions

View File

@ -120,7 +120,7 @@ class TransfersTest extends FeatureTestCase
'payment_method' => 'offlinepayment.cash.1',
'reference' => null,
'currency_code' => setting('general.default_currency'),
'currency_rate' => '1',
'currency_rate' => '1'
];
}
@ -140,7 +140,7 @@ class TransfersTest extends FeatureTestCase
'category_id' => $this->company->categories()->type('income')->first()->id,
'reference' => $this->faker->text(5),
'payment_method' => setting('general.default_payment_method'),
'attachment' => $attachment,
'attachment' => $attachment
];
}
@ -160,7 +160,7 @@ class TransfersTest extends FeatureTestCase
'category_id' => $this->company->categories()->type('expense')->first()->id,
'payment_method' => setting('general.default_payment_method'),
'reference' => $this->faker->text(5),
'attachment' => $attachment,
'attachment' => $attachment
];
}
}
}