Optimise tests and coverage.

This commit is contained in:
James Cole
2018-05-13 09:01:10 +02:00
parent 528da3f08e
commit 1aae84a4d0
13 changed files with 154 additions and 106 deletions

View File

@@ -59,6 +59,7 @@ class CSVProcessorTest extends TestCase
$validator = $this->mock(MappedValuesValidator::class);
$validator->shouldReceive('setImportJob')->once();
$validator->shouldReceive('validate')->andReturn([]);
$creator = $this->mock(ImportableCreator::class);