1
0
Fork 0
pixelfed/tests/Feature/LoginTest.php

29 lines
589 B
PHP
Raw Normal View History

2018-10-04 16:00:15 +00:00
<?php
namespace Tests\Feature;
use Tests\TestCase;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class LoginTest extends TestCase
{
use DatabaseTransactions;
/** @test */
public function view_login_page()
{
$response = $this->get('login');
$response->assertSuccessful()
->assertSee('Forgot Your Password?');
}
/** @test */
public function view_register_page()
{
$response = $this->get('register');
$response->assertSuccessful()
->assertSee('Register a new account');
}
}