mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-21 12:19:24 -06:00
Fix typo
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user