Révision b4adf10d
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/modules/poll/poll.test | ||
---|---|---|
315 | 315 |
|
316 | 316 |
$this->drupalLogin($vote_user); |
317 | 317 |
|
318 |
// Record a vote without selecting any choice. |
|
319 |
$edit = array(); |
|
320 |
$this->drupalPost('node/' . $poll_nid, $edit, t('Vote')); |
|
321 |
$this->assertText(t('Your vote could not be recorded because you did not select any of the choices.'), 'Found the empty poll submission error message.'); |
|
322 |
|
|
318 | 323 |
// Record a vote for the first choice. |
319 | 324 |
$edit = array( |
320 | 325 |
'choice' => '1', |
Formats disponibles : Unified diff
Udpate to 7.33