Update to 6.6

This commit is contained in:
Mathieu Lagace
2019-12-04 20:58:20 -05:00
parent c916e5e580
commit 09523f2bb0
17 changed files with 1666 additions and 605 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace Tests\Browser;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Laravel\Dusk\Browser;
use Tests\DuskTestCase;
class LoginTest extends DuskTestCase
{
public function testLogin()
{
$this->browse(function (Browser $browser) {
$browser->visit('/login')
->type('email','admin@exvps.ca')
->type('password','SuperAdmin')
->click('@login-button')
->assertPathIs('/admin');
});
}
}