Révision 6b24a280
Ajouté par Assos Assos il y a presque 4 ans
drupal7/modules/file/tests/file.test | ||
---|---|---|
409 | 409 |
'form_token' => 'invalid token', |
410 | 410 |
); |
411 | 411 |
$this->drupalPost($path, $edit, t('Save')); |
412 |
$this->assertText('The form has become outdated. Copy any unsaved work in the form below');
|
|
412 |
$this->assertText('The form has become outdated.'); |
|
413 | 413 |
$last_fid = $this->getLastFileId(); |
414 | 414 |
$this->assertEqual($last_fid_prior, $last_fid, 'File was not saved when uploaded with an invalid form token.'); |
415 | 415 |
|
Formats disponibles : Unified diff
-a