Rename import/export, fix tests with parser

This commit is contained in:
Nabeel Shahzad
2018-03-21 19:12:36 -05:00
parent 276b93fc57
commit 9657e8bd40
9 changed files with 28 additions and 26 deletions

View File

@@ -16,7 +16,7 @@ class ImporterTest extends TestCase
{
parent::setUp();
$this->importBaseClass = new \App\Interfaces\ImportExport();
$this->importSvc = app(\App\Services\ImporterService::class);
$this->importSvc = app(\App\Services\ImportService::class);
$this->fareSvc = app(\App\Services\FareService::class);
}
@@ -111,7 +111,7 @@ class ImporterTest extends TestCase
[
'input' => 'Y?;F?price=1200',
'expected' => [
0 => 'Y',
'Y' => [],
'F' => [
'price' => 1200
]