mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-23 18:25:03 +00:00
Merge remote-tracking branch 'origin/next' into harden-database-import-files
This commit is contained in:
+11
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user