start project

This commit is contained in:
MeghdadFadaee committed 2026-05-15 16:33:34 +03:30
1 parent 553238b0fb
commit d756661b45
50 files changed
+3523

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
<?php
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
use Laravel\Fortify\Features;
abstract class TestCase extends BaseTestCase
{
protected function setUp(): void
{
parent::setUp();
$this->withoutVite();
}
protected function skipUnlessFortifyHas(string $feature, ?string $message = null): void
{
if (! Features::enabled($feature)) {
$this->markTestSkipped($message ?? "Fortify feature [{$feature}] is not enabled.");
}
}
}