diff --git a/lang/en/poll.php b/lang/en/poll.php index eb9583983..0cb527778 100644 --- a/lang/en/poll.php +++ b/lang/en/poll.php @@ -13,8 +13,8 @@ return [ 'add-option' => 'Add Option', - 'already-voted-error' => 'Bro have already vote on this poll. Your vote has not been counted.', - 'already-voted-result' => 'You have already vote on this poll. Here are the results.', + 'already-voted-error' => 'You have already voted on this poll. Your vote has not been counted.', + 'already-voted-result' => 'You have already voted on this poll. Here are the results.', 'create-poll' => 'Create Poll', 'current' => 'Current Poll(s)', 'delete-option' => 'Delete Option', diff --git a/tests/Todo/Feature/Http/Controllers/PollControllerTest.php b/tests/Todo/Feature/Http/Controllers/PollControllerTest.php index bb7c50516..d3fc8aa2f 100644 --- a/tests/Todo/Feature/Http/Controllers/PollControllerTest.php +++ b/tests/Todo/Feature/Http/Controllers/PollControllerTest.php @@ -59,7 +59,7 @@ class PollControllerTest extends TestCase $response = $this->actingAs($user)->get(route('poll', ['id' => $poll->id])); - $response->assertRedirect(withInfo('You have already vote on this poll. Here are the results.')); + $response->assertRedirect(withInfo('You have already voted on this poll. Here are the results.')); // TODO: perform additional assertions } @@ -77,7 +77,7 @@ class PollControllerTest extends TestCase // TODO: send request data ]); - $response->assertRedirect(withErrors('Bro have already vote on this poll. Your vote has not been counted.')); + $response->assertRedirect(withErrors('You have already voted on this poll. Your vote has not been counted.')); // TODO: perform additional assertions }