Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix bill test
James Cole13cddd8f12e2
diff --git a/tests/Feature/Controllers/BillControllerTest.php b/tests/Feature/Controllers/BillControllerTest.phpindex b81b7b5abe..45a6f336da 100644--- a/tests/Feature/Controllers/BillControllerTest.php+++ b/tests/Feature/Controllers/BillControllerTest.php@@ -266,6 +266,7 @@ class BillControllerTest extends TestCase$transformer->shouldReceive('setCurrentScope')->atLeast()->once();$transformer->shouldReceive('getDefaultIncludes')->atLeast()->once();$transformer->shouldReceive('getAvailableIncludes')->atLeast()->once();+ $repository->shouldReceive('getAttachments')->atLeast()->once()->andReturn(new Collection);$transformer->shouldReceive('transform')->atLeast()->once()->andReturn(['id' => 5, 'active' => true, 'name' => 'x', 'next_expected_match' => '2018-01-01','currency_symbol' => 'x','amount_min' => '10','amount_max' => '15'