mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-01 21:19:11 -06:00
Fix tests
This commit is contained in:
parent
c39c5492ea
commit
ef357ab6e5
@ -150,6 +150,7 @@ class ImportControllerTest extends TestCase
|
||||
$configurator->shouldReceive('setJob')->once();
|
||||
$configurator->shouldReceive('isJobConfigured')->once()->andReturn(false);
|
||||
$configurator->shouldReceive('configureJob')->once()->andReturn(false);
|
||||
$configurator->shouldReceive('getWarningMessage')->once()->andReturn('');
|
||||
|
||||
|
||||
$this->be($this->user());
|
||||
|
@ -86,8 +86,6 @@ class TagControllerTest extends TestCase
|
||||
$repository = $this->mock(TagRepositoryInterface::class);
|
||||
$journalRepos = $this->mock(JournalRepositoryInterface::class);
|
||||
$journalRepos->shouldReceive('first')->once()->andReturn(new TransactionJournal);
|
||||
$repository->shouldReceive('tagAllowAdvance')->once()->andReturn(false);
|
||||
$repository->shouldReceive('tagAllowBalancing')->once()->andReturn(false);
|
||||
|
||||
$this->be($this->user());
|
||||
$response = $this->get(route('tags.edit', [1]));
|
||||
|
Loading…
Reference in New Issue
Block a user