Rename Interfaces to Contracts to better match Laravel conventions
This commit is contained in:
@@ -15,7 +15,7 @@ class ImporterTest extends TestCase
|
||||
public function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
$this->importBaseClass = new \App\Interfaces\ImportExport();
|
||||
$this->importBaseClass = new \App\Contracts\ImportExport();
|
||||
$this->importSvc = app(\App\Services\ImportService::class);
|
||||
$this->fareSvc = app(\App\Services\FareService::class);
|
||||
|
||||
|
||||
@@ -139,7 +139,7 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase
|
||||
$this->transformData($value);
|
||||
}
|
||||
|
||||
if (is_subclass_of($value, App\Interfaces\Unit::class)) {
|
||||
if (is_subclass_of($value, App\Contracts\Unit::class)) {
|
||||
$data[$key] = $value->__toString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user