Skip to content

Commit 0bbe790

Browse files
committed
Move migrations out of psr-4
1 parent bff3714 commit 0bbe790

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/database/migrations/CreateTestTables.php renamed to database/migrations/create_test_tables.php.stub

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
namespace Rappasoft\LaravelLivewireTables\Tests\Database\Migrations;
4-
53
use Illuminate\Database\Migrations\Migration;
64
use Illuminate\Database\Schema\Blueprint;
75
use Illuminate\Support\Facades\Schema;

tests/TestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public function getEnvironmentSetUp($app)
6464
'prefix' => '',
6565
]);
6666

67-
resolve(CreateTestTables::class)->up();
67+
include_once __DIR__.'/../database/migrations/create_test_tables.php.stub';
68+
(new \CreateTestTables())->up();
6869
}
6970
}

0 commit comments

Comments
 (0)