commit 2cbe27ac4a6e1a07688d622a6cf14389da4e1356 Author: Nathan Haug Date: Tue Mar 12 17:23:01 2013 -0700 Typos. diff --git a/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php b/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php index 163e1ad..3953585 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxCommandsUnitTest.php @@ -387,7 +387,7 @@ function testCloseDialogCommand() { } /** - * Tests that CloseDialogCommand objects can be constructed and rendered. + * Tests that SetDialogOptionCommand objects can be constructed and rendered. */ function testSetDialogOptionCommand() { $command = new SetDialogOptionCommand('#some-dialog', 'width', '500'); @@ -402,7 +402,7 @@ function testSetDialogOptionCommand() { } /** - * Tests that CloseDialogCommand objects can be constructed and rendered. + * Tests that SetDialogTitleCommand objects can be constructed and rendered. */ function testSetDialogTitleCommand() { $command = new SetDialogTitleCommand('#some-dialog', 'Example'); diff --git a/core/modules/system/lib/Drupal/system/Tests/Ajax/DialogTest.php b/core/modules/system/lib/Drupal/system/Tests/Ajax/DialogTest.php index d21438a..5b801f8 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Ajax/DialogTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Ajax/DialogTest.php @@ -64,11 +64,11 @@ function testDialog() { // Check that requesting a "normal" dialog without JS goes to a page. $this->drupalGet('ajax-test/dialog-contents/nojs'); - $this->assertRaw($dialog_contents, 'Non-JS dialog page present.'); + $this->assertRaw($dialog_contents, 'Non-JS normal dialog page present.'); // Emulate going to the JS version of the page and check the JSON response. $ajax_result = $this->drupalGetAJAX('ajax-test/dialog-contents/ajax'); - $this->assertEqual($normal_expected_response, $ajax_result[1], 'Modal dialog JSON response matches.'); + $this->assertEqual($normal_expected_response, $ajax_result[1], 'Normal dialog JSON response matches.'); // Emulate closing the dialog via an AJAX request. There is no non-JS // version of this test.