mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various code cleanup
This commit is contained in:
@@ -278,7 +278,7 @@ class SingleControllerTest extends TestCase
|
||||
public function testStoreSuccess()
|
||||
{
|
||||
$this->markTestIncomplete('Mockery cannot yet handle PHP7.1 null argument method things.');
|
||||
|
||||
|
||||
// mock results:
|
||||
$repository = $this->mock(JournalRepositoryInterface::class);
|
||||
$journal = new TransactionJournal();
|
||||
@@ -295,7 +295,6 @@ class SingleControllerTest extends TestCase
|
||||
$messages->add('attachments', 'Fake error');
|
||||
|
||||
|
||||
|
||||
// mock attachment helper, trigger an error AND and info thing.
|
||||
$attachmentRepo = $this->mock(AttachmentHelperInterface::class);
|
||||
$attachmentRepo->shouldReceive('saveAttachmentsForModel');
|
||||
|
Reference in New Issue
Block a user