<?php

use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;

class LoginTest extends TestCase
{
    /**
     * Test the process of an admin user logging in
     *
     * @test
     * @return void
     */
    public function adminLogin()
    {
        $this->visit('/')
            ->see('Widgets Unlimited')
            ->click('Login')
            ->see('Password')
            ->assertPageLoaded('/auth/login');
    }
}
