Skip to content

Commit 86cf7cf

Browse files
committed
make sure to test assumption without fix
1 parent 165ebdc commit 86cf7cf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Drupal/DrupalAutoloader.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ public function register(Container $container): void
9191

9292
$this->moduleData = array_merge($this->extensionDiscovery->scan('module'), $profiles);
9393
usort($this->moduleData, static function (Extension $a, Extension $b) {
94-
return strpos($a->getName(), '_test') !== false ? 10 : 0;
94+
// revert for test.
95+
return $a->getName() === 'blazy_test' ? 10 : 0;
96+
// return strpos($a->getName(), '_test') !== false ? 10 : 0;
9597
});
9698
$this->themeData = $this->extensionDiscovery->scan('theme');
9799
$this->addTestNamespaces();

0 commit comments

Comments
 (0)