mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-20 11:48:27 -06:00
Fix tests.
This commit is contained in:
parent
7eedd6c2fc
commit
84f0ee183c
@ -164,7 +164,7 @@ class BulkControllerTest extends TestCase
|
||||
->withArgs([Mockery::any(), $data['budget_id']]);
|
||||
|
||||
$repository->shouldReceive('updateTags')->times(4)->andReturn(new TransactionJournal())
|
||||
->withArgs([Mockery::any(), $tags]);
|
||||
->withArgs([Mockery::any(), ['tags' => $tags]]);
|
||||
|
||||
|
||||
$route = route('transactions.bulk.update');
|
||||
|
@ -216,6 +216,7 @@ class MassControllerTest extends TestCase
|
||||
$repository->shouldReceive('update')->once();
|
||||
$repository->shouldReceive('find')->once()->andReturn($deposit);
|
||||
$repository->shouldReceive('getTransactionType')->andReturn('Deposit');
|
||||
$repository->shouldReceive('getNoteText')->andReturn('Some note');
|
||||
|
||||
$this->session(['transactions.mass-edit.uri' => 'http://localhost']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user