Remove method pointers from tests.

This commit is contained in:
James Cole
2018-08-09 20:17:15 +02:00
parent 5908b4b000
commit eefa84a77b
124 changed files with 636 additions and 777 deletions

View File

@@ -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);