From 76c28d15e20eeaf344c2e183f49db777544fa888 Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Sat, 9 May 2020 18:51:50 +0800 Subject: [PATCH] Use proper lang --- tests/Feature/ManageUserFamiliesTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Feature/ManageUserFamiliesTest.php b/tests/Feature/ManageUserFamiliesTest.php index a1727d9..47f1f3f 100644 --- a/tests/Feature/ManageUserFamiliesTest.php +++ b/tests/Feature/ManageUserFamiliesTest.php @@ -3,8 +3,8 @@ namespace Tests\Feature; use App\User; -use Tests\TestCase; use Illuminate\Foundation\Testing\RefreshDatabase; +use Tests\TestCase; class ManageUserFamiliesTest extends TestCase { @@ -312,7 +312,7 @@ class ManageUserFamiliesTest extends TestCase $marriageId = $husband->fresh()->wifes->first()->pivot->id; $this->visit(route('profile')); - $this->click('Set Orang Tua'); + $this->click(__('user.set_parent')); $this->seeElement('select', ['name' => 'set_parent_id']); $this->submitForm('set_parent_button', [