Expand tests.

This commit is contained in:
James Cole
2017-03-12 21:24:34 +01:00
parent aedc3fdff9
commit e53d294c1c
13 changed files with 448 additions and 6 deletions

View File

@@ -24,6 +24,7 @@ class AttachmentControllerTest extends TestCase
*/
public function testDelete()
{
// mock stuff
$journalRepos = $this->mock(JournalRepositoryInterface::class);
$journalRepos->shouldReceive('first')->once()->andReturn(new TransactionJournal);
$this->be($this->user());