Merge remote-tracking branch 'origin/next' into harden-database-import-files

This commit is contained in:
Andras Bacsai
2026-06-29 10:35:35 +02:00
550 changed files with 18078 additions and 5008 deletions
+11 -1
View File
@@ -2,6 +2,7 @@
use App\Models\Server;
use Illuminate\Support\Once;
use Tests\TestCase;
/*
|--------------------------------------------------------------------------
@@ -13,7 +14,7 @@ use Illuminate\Support\Once;
| need to change it using the "uses()" function to bind a different classes or traits.
|
*/
uses(Tests\TestCase::class)->in('Feature', 'v4/Feature', 'v4/Browser');
uses(TestCase::class)->in('Feature', 'v4/Feature', 'v4/Browser');
/*
|--------------------------------------------------------------------------
@@ -31,6 +32,15 @@ beforeEach(function () {
Server::flushIdentityMap();
});
function loginAndSkipBoarding(string $email = 'test@example.com', string $password = 'password'): mixed
{
return visit('/login')
->fill('email', $email)
->fill('password', $password)
->click('Login')
->click('Skip Setup');
}
/*
|--------------------------------------------------------------------------
| Expectations