mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Remove method pointers from tests.
This commit is contained in:
@@ -29,6 +29,9 @@ use FireflyIII\Repositories\ImportJob\ImportJobRepositoryInterface;
|
||||
use FireflyIII\Support\Import\JobConfiguration\Bunq\NewBunqJobHandler;
|
||||
use Tests\TestCase;
|
||||
|
||||
/**
|
||||
* Class NewBunqJobHandlerTest
|
||||
*/
|
||||
class NewBunqJobHandlerTest extends TestCase
|
||||
{
|
||||
/**
|
||||
@@ -53,8 +56,6 @@ class NewBunqJobHandlerTest extends TestCase
|
||||
$repository = $this->mock(ImportJobRepositoryInterface::class);
|
||||
// mock calls
|
||||
$repository->shouldReceive('setUser')->once();
|
||||
//$repository->shouldReceive('getConfiguration')->andReturn([])->once();
|
||||
//$repository->shouldReceive('setConfiguration')->withArgs([Mockery::any(), $expected])->once();
|
||||
|
||||
$handler = new NewBunqJobHandler();
|
||||
$handler->setImportJob($job);
|
||||
|
Reference in New Issue
Block a user