File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -163,11 +163,11 @@ protected function addCoreNamespaces(): void
163
163
164
164
// Add core test namespaces.
165
165
$ core_tests_dir = $ this ->drupalRoot . '/core/tests ' ;
166
- $ this ->namespaces [ 'Drupal \\Tests ' ] = $ core_tests_dir ;
167
- $ this ->namespaces [ 'Drupal \\TestSite ' ] = $ core_tests_dir ;
168
- $ this ->namespaces [ 'Drupal \\KernelTests ' ] = $ core_tests_dir ;
169
- $ this ->namespaces [ 'Drupal \\FunctionalTests ' ] = $ core_tests_dir ;
170
- $ this ->namespaces [ 'Drupal \\FunctionalJavascriptTests ' ] = $ core_tests_dir ;
166
+ $ this ->autoloader -> add ( 'Drupal \\Tests ' , $ core_tests_dir) ;
167
+ $ this ->autoloader -> add ( 'Drupal \\TestSite ' , $ core_tests_dir) ;
168
+ $ this ->autoloader -> add ( 'Drupal \\KernelTests ' , $ core_tests_dir) ;
169
+ $ this ->autoloader -> add ( 'Drupal \\FunctionalTests ' , $ core_tests_dir) ;
170
+ $ this ->autoloader -> add ( 'Drupal \\FunctionalJavascriptTests ' , $ core_tests_dir) ;
171
171
}
172
172
protected function addModuleNamespaces (): void
173
173
{
You can’t perform that action at this time.
0 commit comments