File "AttributeOptionTest.php"
Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/tests/Browser/AttributeOptionTest.php
File size: 566 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace Tests\Browser;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Laravel\Dusk\Browser;
use Tests\DuskTestCase;
/**
* @internal
* @coversNothing
*/
class AttributeOptionTest extends DuskTestCase
{
public function testIndex()
{
$admin = App\Models\User::find(1);
$this->browse(function (Browser $browser) use ($admin) {
$browser->loginAs($admin);
$browser->visit(route('admin.attributeoption.index'));
$browser->assertRouteIs('admin.attributeoption.index');
});
}
}