mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 02:03:40 +00:00
Improve test coverage.
This commit is contained in:
@@ -66,7 +66,7 @@ class BillControllerTest extends TestCase
|
||||
2 => '100',
|
||||
];
|
||||
|
||||
$currencyRepos->shouldReceive('findNull')->once()->andReturn(TransactionCurrency::find(1))->withArgs([1]);
|
||||
$currencyRepos->shouldReceive('findNull')->once()->andReturn($this->getEuro())->withArgs([1]);
|
||||
$currencyRepos->shouldReceive('findNull')->once()->andReturn(TransactionCurrency::find(2))->withArgs([2]);
|
||||
|
||||
$repository->shouldReceive('getBillsPaidInRangePerCurrency')->once()->andReturn($amounts);
|
||||
|
Reference in New Issue
Block a user