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 Aug 11, 2023
1 parent 4790951 commit fef8914
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/Browser/WithFakerTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?php

namespace Orchestra\Testbench\Dusk\Tests\Browser;

use Faker\Generator;
use Illuminate\Foundation\Testing\WithFaker;
use Orchestra\Testbench\Dusk\TestCase;

class WithFakerTest extends TestCase
{
use WithFaker;

/** @test */
public function it_can_use_faker()
{
$this->browse(function ($browser) {
$this->assertInstanceOf(Generator::class, $this->faker);
});
}
}

0 comments on commit fef8914

Please sign in to comment.