Skip to content

Commit 7808e10

Browse files
committed
fix styling
1 parent d0b7761 commit 7808e10

File tree

5 files changed

+5
-8
lines changed

5 files changed

+5
-8
lines changed

src/Http/Livewire/CsvImporter.php

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Coderflex\LaravelCsv\Concerns;
66
use Coderflex\LaravelCsv\Jobs\ImportCsv;
77
use Coderflex\LaravelCsv\Utilities\ChunkIterator;
8-
use Illuminate\Support\Facades\Auth;
98
use Illuminate\Support\Facades\Bus;
109
use Illuminate\Support\MessageBag;
1110
use Illuminate\Validation\Validator;

tests/CsvImporterTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262

263263
it('creates customers records on top of csv file', function () {
264264
$this->actingAs(User::factory()->create());
265-
265+
266266
$file = UploadedFile::fake()
267267
->createWithContent(
268268
'customers.csv',

tests/HandleImportsTest.php

-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@
1717
->assertSet('model', $model)
1818
->assertSuccessful();
1919
});
20-

tests/Models/Customer.php

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Coderflex\LaravelCsv\Tests\Models;
44

5-
use Coderflex\LaravelCsv\Concerns\HasCsvImports;
65
use Coderflex\LaravelCsv\Tests\Database\Factories\CustomerFactory;
76
use Illuminate\Database\Eloquent\Factories\HasFactory;
87
use Illuminate\Database\Eloquent\Model;

tests/TestCase.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ public function getEnvironmentSetUp($app)
3838
config()->set('database.default', 'testing');
3939

4040
$migrations = [
41-
include __DIR__ . '/../database/migrations/create_csv_imports_table.php.stub',
42-
include __DIR__ . '/Database/Migrations/create_customers_table.php',
43-
include __DIR__ . '/Database/Migrations/create_users_table.php',
44-
include __DIR__ . '/Database/Migrations/create_job_batches_table.php',
41+
include __DIR__.'/../database/migrations/create_csv_imports_table.php.stub',
42+
include __DIR__.'/Database/Migrations/create_customers_table.php',
43+
include __DIR__.'/Database/Migrations/create_users_table.php',
44+
include __DIR__.'/Database/Migrations/create_job_batches_table.php',
4545
];
4646

4747
collect($migrations)->each(fn ($path) => $path->up());

0 commit comments

Comments
 (0)