mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 17:33:45 +00:00
make sure randomly selected journals match prerequisites.
This commit is contained in:
@@ -271,8 +271,8 @@ class TransactionControllerTest extends TestCase
|
||||
public function testShow()
|
||||
{
|
||||
// mock stuff
|
||||
$tasker = $this->mock(JournalTaskerInterface::class);
|
||||
$linkRepos = $this->mock(LinkTypeRepositoryInterface::class);
|
||||
$tasker = $this->mock(JournalTaskerInterface::class);
|
||||
$linkRepos = $this->mock(LinkTypeRepositoryInterface::class);
|
||||
$linkRepos->shouldReceive('get')->andReturn(new Collection);
|
||||
$linkRepos->shouldReceive('getLinks')->andReturn(new Collection);
|
||||
|
||||
@@ -291,8 +291,8 @@ class TransactionControllerTest extends TestCase
|
||||
*/
|
||||
public function testShowOpeningBalance()
|
||||
{
|
||||
$tasker = $this->mock(JournalTaskerInterface::class);
|
||||
$linkRepos = $this->mock(LinkTypeRepositoryInterface::class);
|
||||
$tasker = $this->mock(JournalTaskerInterface::class);
|
||||
$linkRepos = $this->mock(LinkTypeRepositoryInterface::class);
|
||||
$linkRepos->shouldReceive('get')->andReturn(new Collection);
|
||||
$linkRepos->shouldReceive('getLinks')->andReturn(new Collection);
|
||||
|
||||
|
Reference in New Issue
Block a user