mirror of
https://github.com/Kovah/LinkAce.git
synced 2025-04-21 07:22:20 +02:00
Fix migration for tests
This commit is contained in:
parent
5272399b5b
commit
e1571f1937
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -6,7 +6,7 @@ on:
|
||||
jobs:
|
||||
|
||||
test-js:
|
||||
name: Test asset generation process on Node 18 LTS
|
||||
name: Test asset generation process on Node
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
@ -8,7 +8,7 @@ use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use OwenIt\Auditing\Models\Audit;
|
||||
|
||||
return new class extends Migration
|
||||
class CreateAuditsTable extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
@ -124,4 +124,4 @@ return new class extends Migration
|
||||
|
||||
return [$old, $new];
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -5,7 +5,6 @@ namespace Tests\Migrations;
|
||||
use App\Models\Link;
|
||||
use App\Models\User;
|
||||
use CreateAuditsTable;
|
||||
use Illuminate\Foundation\Testing\LazilyRefreshDatabase;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
Loading…
x
Reference in New Issue
Block a user