Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Dec 4, 2024
1 parent 90533a4 commit 4df0568
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/WithWorkbenchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use Orchestra\Testbench\Concerns\WithWorkbench;
use Orchestra\Testbench\Contracts\Config as ConfigContract;
use Orchestra\Testbench\Foundation\Env;
use Orchestra\Testbench\TestCase;
use Orchestra\Testbench\Workbench\Workbench;
use PHPUnit\Framework\Attributes\Test;
Expand Down Expand Up @@ -46,6 +47,7 @@ public function it_can_be_manually_resolved()
#[Test]
public function it_can_resolve_user_model_from_workbench()
{
$this->assertFalse(Env::has('AUTH_MODEL'));
$this->assertSame('Workbench\App\Models\User', config('auth.providers.users.model'));
}
}

0 comments on commit 4df0568

Please sign in to comment.