Révision 6ff32cea
Ajouté par Florent Torregrosa il y a environ 9 ans
drupal7/modules/simpletest/tests/ajax.test | ||
---|---|---|
293 | 293 |
$this->assertCommand($commands, $expected, "'changed' AJAX command (with asterisk) issued with correct selector"); |
294 | 294 |
|
295 | 295 |
// Tests the 'css' command. |
296 |
$commands = $this->drupalPostAJAX($form_path, $edit, array('op' => t("Set the the '#box' div to be blue.")));
|
|
296 |
$commands = $this->drupalPostAJAX($form_path, $edit, array('op' => t("Set the '#box' div to be blue."))); |
|
297 | 297 |
$expected = array( |
298 | 298 |
'command' => 'css', |
299 | 299 |
'selector' => '#css_div', |
Formats disponibles : Unified diff
Update core to 7.36