Fix bill test

This commit is contained in:
James Cole 2019-01-27 18:11:10 +01:00
parent 20b458f35d
commit 13cddd8f12

View File

@ -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'