diff --git a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php index b4972f4..eecafb0 100644 --- a/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php +++ b/core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php @@ -54,10 +54,10 @@ protected function tearDown() { if (!$result) { // If the wait is unsuccessful, there may still be an AJAX request in // progress. If we tear down now, then this AJAX request may fail with - // missing database tables, because tear down will have removed them. Rather - // than allow it to fail, throw an explicit exception now explaining what - // the problem is. - throw new \RuntimeException('Unfinished AJAX requests whilst tearing down a test'); + // missing database tables, because tear down will have removed them. + // Rather than allow it to fail, throw an explicit exception now + // explaining what the problem is. + throw new \RuntimeException('Unfinished AJAX requests while tearing down a test'); } } parent::tearDown();