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

29 lines
589 B
PHP

<?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');
}
}