Improve test coverage.

This commit is contained in:
James Cole
2018-12-12 20:30:25 +01:00
parent 159fffef2e
commit 2a30293905
87 changed files with 1897 additions and 840 deletions

View File

@@ -536,8 +536,9 @@ class BinderTest extends TestCase
);
// mock fiscal helper:
$date = new Carbon;
$helper = $this->mock(FiscalHelperInterface::class);
$date = new Carbon;
$helper->shouldReceive('endOfFiscalYear')->andReturn($date)->once();
$helper->shouldReceive('startOfFiscalYear')->andReturn($date)->once();