diff --git a/core/modules/simpletest/simpletest.module b/core/modules/simpletest/simpletest.module index 265a515..54caa68 100644 --- a/core/modules/simpletest/simpletest.module +++ b/core/modules/simpletest/simpletest.module @@ -339,7 +339,7 @@ function simpletest_phpunit_run_command(array $unescaped_test_classnames, $phpun } else { // Double escape namespaces so they'll work in a regexp. - $escaped_test_classnames = array_map(function ($class) { + $escaped_test_classnames = array_map(function($class) { return addslashes($class); }, $unescaped_test_classnames); diff --git a/core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php b/core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php index fcbb75a..5d8c2b1 100644 --- a/core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php +++ b/core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php @@ -1,5 +1,10 @@