mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 00:20:03 +00:00
Possible fix for #2437
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user