Possible fix for #2437

This commit is contained in:
James Cole
2019-08-23 09:41:31 +02:00
parent 4f6ba1e706
commit 02df24bbc9
5 changed files with 553 additions and 529 deletions

View File

@@ -150,7 +150,6 @@ class BillControllerTest extends TestCase
}
/**
* @covers \FireflyIII\Http\Controllers\BillController
* @covers \FireflyIII\Http\Controllers\BillController
*/
public function testIndex(): void
@@ -158,6 +157,8 @@ class BillControllerTest extends TestCase
$this->mockDefaultSession();
$this->mockIntroPreference('shown_demo_bills_index');
Amount::shouldReceive('getDefaultCurrency')->andReturn($this->getEuro());
// mock stuff
$this->mock(AttachmentHelperInterface::class);
$bill = $this->getRandomBill();