Loading core/lib/Drupal/Core/Test/TestDiscovery.php +3 −3 Original line number Diff line number Diff line Loading @@ -113,11 +113,11 @@ public function registerTestNamespaces() { // Expose tests provided by core recipes. $base_path = $this->root . '/core/recipes'; if (@opendir($base_path)) { while (($recipe = readdir()) !== FALSE) { if ($handle = @opendir($base_path)) { while (($recipe = readdir($handle)) !== FALSE) { $this->testNamespaces["Drupal\\FunctionalTests\\Recipe\\Core\\$recipe\\"][] = "$base_path/$recipe/tests/src/Functional"; } closedir(); closedir($handle); } foreach ($this->testNamespaces as $prefix => $paths) { Loading Loading
core/lib/Drupal/Core/Test/TestDiscovery.php +3 −3 Original line number Diff line number Diff line Loading @@ -113,11 +113,11 @@ public function registerTestNamespaces() { // Expose tests provided by core recipes. $base_path = $this->root . '/core/recipes'; if (@opendir($base_path)) { while (($recipe = readdir()) !== FALSE) { if ($handle = @opendir($base_path)) { while (($recipe = readdir($handle)) !== FALSE) { $this->testNamespaces["Drupal\\FunctionalTests\\Recipe\\Core\\$recipe\\"][] = "$base_path/$recipe/tests/src/Functional"; } closedir(); closedir($handle); } foreach ($this->testNamespaces as $prefix => $paths) { Loading