mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Code optimizations.
This commit is contained in:
@@ -87,10 +87,7 @@ class SingleControllerTest extends TestCase
|
||||
$journalRepos->shouldReceive('getMetaField')->andReturnNull();
|
||||
|
||||
|
||||
$note = new Note();
|
||||
$note->id = 5;
|
||||
$note->text = 'I see you...';
|
||||
$journalRepos->shouldReceive('getNote')->andReturn($note)->once();
|
||||
$journalRepos->shouldReceive('getNoteText')->andReturn('I see you...')->once();
|
||||
|
||||
|
||||
$this->be($this->user());
|
||||
|
Reference in New Issue
Block a user