Skip to content

Commit

Permalink
fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
ousid committed Sep 3, 2022
1 parent d0b7761 commit 7808e10
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/Http/Livewire/CsvImporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Coderflex\LaravelCsv\Concerns;
use Coderflex\LaravelCsv\Jobs\ImportCsv;
use Coderflex\LaravelCsv\Utilities\ChunkIterator;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Bus;
use Illuminate\Support\MessageBag;
use Illuminate\Validation\Validator;
Expand Down
2 changes: 1 addition & 1 deletion tests/CsvImporterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@

it('creates customers records on top of csv file', function () {
$this->actingAs(User::factory()->create());

$file = UploadedFile::fake()
->createWithContent(
'customers.csv',
Expand Down
1 change: 0 additions & 1 deletion tests/HandleImportsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@
->assertSet('model', $model)
->assertSuccessful();
});

1 change: 0 additions & 1 deletion tests/Models/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Coderflex\LaravelCsv\Tests\Models;

use Coderflex\LaravelCsv\Concerns\HasCsvImports;
use Coderflex\LaravelCsv\Tests\Database\Factories\CustomerFactory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
Expand Down
8 changes: 4 additions & 4 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ public function getEnvironmentSetUp($app)
config()->set('database.default', 'testing');

$migrations = [
include __DIR__ . '/../database/migrations/create_csv_imports_table.php.stub',
include __DIR__ . '/Database/Migrations/create_customers_table.php',
include __DIR__ . '/Database/Migrations/create_users_table.php',
include __DIR__ . '/Database/Migrations/create_job_batches_table.php',
include __DIR__.'/../database/migrations/create_csv_imports_table.php.stub',
include __DIR__.'/Database/Migrations/create_customers_table.php',
include __DIR__.'/Database/Migrations/create_users_table.php',
include __DIR__.'/Database/Migrations/create_job_batches_table.php',
];

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

0 comments on commit 7808e10

Please sign in to comment.