diff --git a/core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php b/core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php index b815be3..b618f0a 100644 --- a/core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php +++ b/core/modules/system/tests/modules/ajax_test/src/Controller/AjaxTestController.php @@ -201,9 +201,9 @@ public function dialog() { 'data-dialog-type' => 'modal', 'data-dialog-options' => json_encode([ 'width' => 400, - ]) + ]), ], - ] + ], ), ); diff --git a/core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxThemeTest.php b/core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxThemeTest.php index 819c430..ae61c42 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxThemeTest.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxThemeTest.php @@ -32,7 +32,7 @@ public function testAjaxWithAdminRoute() { $assert = $this->assertSession(); $assert->pageTextContains('Current theme: seven'); - // Now click the modal, which should use also use the admin theme. + // Now click the modal, which should also use the admin theme. $this->drupalGet('ajax-test/dialog'); $assert->pageTextNotContains('Current theme: stable'); $this->clickLink('Link 8 (ajax)');