1
0
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:
Kovah 2024-02-06 09:57:32 +01:00
parent 5272399b5b
commit e1571f1937
No known key found for this signature in database
GPG Key ID: AAAA031BA9830D7B
3 changed files with 3 additions and 4 deletions

View File

@ -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:

View File

@ -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];
}
};
}

View File

@ -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;