Code optimizations.

This commit is contained in:
James Cole
2018-07-23 21:49:15 +02:00
parent 4fa5f4e5a3
commit 06d22e843a
33 changed files with 784 additions and 603 deletions

View File

@@ -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());