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.
25 lines
696 B
25 lines
696 B
<?php
|
|
|
|
namespace Tests\Feature;
|
|
|
|
use Tests\TestCase;
|
|
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
|
|
|
class ManageUserFamiliesTest extends TestCase
|
|
{
|
|
use DatabaseMigrations;
|
|
|
|
/** @test */
|
|
public function user_can_update_their_family_members()
|
|
{
|
|
$user = $this->loginAsUser();
|
|
$this->visit(route('profile'));
|
|
$this->seePageIs(route('profile'));
|
|
|
|
$this->see($user->nickname);
|
|
$this->seeElement('input', ['name' => 'set_father']);
|
|
$this->seeElement('input', ['name' => 'set_mother']);
|
|
$this->seeElement('input', ['name' => 'add_child_name']);
|
|
$this->seeElement('input', ['name' => 'add_child_gender_id']);
|
|
}
|
|
}
|