mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-22 13:03:16 +00:00
commit
87535142f7
1 changed files with 29 additions and 0 deletions
29
tests/Feature/LoginTest.php
Normal file
29
tests/Feature/LoginTest.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?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');
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue