Skip to content

Commit

Permalink
Fix migration for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kovah committed Feb 6, 2024
1 parent 5272399 commit e1571f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions database/migrations/2022_05_04_223548_create_audits_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Illuminate\Support\Facades\Schema;
use OwenIt\Auditing\Models\Audit;

return new class extends Migration
class CreateAuditsTable extends Migration
{
public function up(): void
{
Expand Down Expand Up @@ -124,4 +124,4 @@ protected function buildRestoreValues($entry): array

return [$old, $new];
}
};
}
1 change: 0 additions & 1 deletion tests/Migrations/RevisionsToAuditsMigrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
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;
Expand Down

0 comments on commit e1571f1

Please sign in to comment.