Added telescope, basic project endpoint, basic filament resources, GitHub actions

This commit is contained in:
Constantin Graf
2024-01-28 18:57:28 +01:00
parent e4f0eac834
commit e60e502612
80 changed files with 2563 additions and 135 deletions

View File

@@ -0,0 +1,27 @@
<?php
declare(strict_types=1);
namespace Tests\Unit\Database;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Artisan;
class MigrationTest extends \Tests\TestCase
{
use RefreshDatabase;
public function test_fresh_migration_and_rollback_runs_successfully(): void
{
Artisan::call('migrate:fresh');
Artisan::call('migrate:rollback');
$this->assertTrue(true);
}
public function testFreshMigrationWithSeederAndRollbackRunsSuccessfully(): void
{
Artisan::call('migrate:fresh --seed');
Artisan::call('migrate:rollback');
$this->assertTrue(true);
}
}