This commit is contained in:
Alyx Ferrari
2023-02-17 20:10:14 -05:00
parent 7b65b30b74
commit f05bba8735
2 changed files with 4 additions and 4 deletions

View File

@@ -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',

View File

@@ -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
}