54 - Fix Pint import issues in tests/Pest.php
This commit is contained in:
parent
175290b707
commit
cb2dbd9299
1 changed files with 5 additions and 4 deletions
|
|
@ -3,6 +3,7 @@
|
|||
use App\Models\Planner;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Support\Facades\Hash;
|
||||
use Pest\Browser\Api\Webpage;
|
||||
use Tests\BrowserTestCase;
|
||||
use Tests\TestCase;
|
||||
|
||||
|
|
@ -26,7 +27,7 @@ function createPlanner(?string $email = null): Planner
|
|||
/**
|
||||
* Log in as the given planner and navigate to the target page.
|
||||
*
|
||||
* @return \Pest\Browser\Api\Webpage
|
||||
* @return Webpage
|
||||
*/
|
||||
function loginAs(Planner $planner, string $page = '/dashboard')
|
||||
{
|
||||
|
|
@ -39,7 +40,7 @@ function loginAs(Planner $planner, string $page = '/dashboard')
|
|||
}
|
||||
|
||||
/**
|
||||
* @return \Pest\Browser\Api\Webpage
|
||||
* @return Webpage
|
||||
*/
|
||||
function loginAndGoToDishes()
|
||||
{
|
||||
|
|
@ -47,7 +48,7 @@ function loginAndGoToDishes()
|
|||
}
|
||||
|
||||
/**
|
||||
* @return \Pest\Browser\Api\Webpage
|
||||
* @return Webpage
|
||||
*/
|
||||
function loginAndGoToUsers()
|
||||
{
|
||||
|
|
@ -55,7 +56,7 @@ function loginAndGoToUsers()
|
|||
}
|
||||
|
||||
/**
|
||||
* @return \Pest\Browser\Api\Webpage
|
||||
* @return Webpage
|
||||
*/
|
||||
function loginAndGoToSchedule()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue