You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
428 B
20 lines
428 B
<?php
|
|
|
|
namespace Tests\Feature;
|
|
|
|
use App\User;
|
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
|
use Tests\TestCase;
|
|
|
|
class ManageUserMarriagesTest extends TestCase
|
|
{
|
|
use RefreshDatabase;
|
|
|
|
/** @test */
|
|
public function user_can_visit_other_user_marriages_page()
|
|
{
|
|
$user = factory(User::class)->create();
|
|
$this->visit(route('users.marriages', $user->id));
|
|
$this->see($user->name);
|
|
}
|
|
}
|