diff --git a/core/modules/system/src/Tests/Update/UpdatePathTestBase.php b/core/modules/system/src/Tests/Update/UpdatePathTestBase.php index cd6d790..2dd61e5 100644 --- a/core/modules/system/src/Tests/Update/UpdatePathTestBase.php +++ b/core/modules/system/src/Tests/Update/UpdatePathTestBase.php @@ -279,8 +279,8 @@ protected function replaceUser1() { */ protected function doSelectionTest() { // No-op. Tests wishing to do test the selection page or the general - //update.php environment before running update.php can override this - //method and implement their required tests. + // update.php environment before running update.php can override this method + // and implement their required tests. } } diff --git a/core/modules/system/src/Tests/Update/UpdatePathTestJavaScriptTest.php b/core/modules/system/src/Tests/Update/UpdatePathTestJavaScriptTest.php index cc6ba4c..f3c82d0 100644 --- a/core/modules/system/src/Tests/Update/UpdatePathTestJavaScriptTest.php +++ b/core/modules/system/src/Tests/Update/UpdatePathTestJavaScriptTest.php @@ -48,6 +48,7 @@ protected function doSelectionTest() { if (strpos($file_content, 'window.drupalSettings =') !== FALSE) { $found = TRUE; + break; } }