mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Push updated tests.
This commit is contained in:
@@ -33,6 +33,7 @@ use FireflyIII\Repositories\Journal\JournalRepositoryInterface;
|
||||
use Illuminate\Support\Collection;
|
||||
use Log;
|
||||
use Tests\TestCase;
|
||||
use Mockery;
|
||||
|
||||
/**
|
||||
* Class ConfigurationControllerTest
|
||||
@@ -248,6 +249,8 @@ class ReconcileControllerTest extends TestCase
|
||||
$journalRepos->shouldReceive('store')->andReturn(new TransactionJournal);
|
||||
$repository->shouldReceive('getReconciliation')->andReturn(new Account);
|
||||
$repository->shouldReceive('findNull')->andReturn(new Account);
|
||||
$repository->shouldReceive('getMetaValue')->withArgs([Mockery::any(),'currency_id'])->andReturn('1');
|
||||
|
||||
$data = [
|
||||
'transactions' => [1, 2, 3],
|
||||
'reconcile' => 'create',
|
||||
|
||||
Reference in New Issue
Block a user