From 1b4483d04a25956f3817217f66ee98f552816634 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 15 Sep 2021 15:51:09 -0700 Subject: [PATCH] ExampleDataLoader - Also scan "Civi/Test/ExampleData/*.ex.php" --- Civi/Test/ExampleDataLoader.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Civi/Test/ExampleDataLoader.php b/Civi/Test/ExampleDataLoader.php index 8b78d82353..e26cb4198b 100644 --- a/Civi/Test/ExampleDataLoader.php +++ b/Civi/Test/ExampleDataLoader.php @@ -79,6 +79,7 @@ class ExampleDataLoader { protected function findMetas(): array { $classes = array_merge( // This scope of search is decidedly narrow - it should probably be expanded. + $this->scanExampleClasses(\Civi::paths()->getPath('[civicrm.root]/'), 'Civi/Test/ExampleData', '\\'), $this->scanExampleClasses(\Civi::paths()->getPath('[civicrm.root]/'), 'CRM/*/WorkflowMessage', '_'), $this->scanExampleClasses(\Civi::paths()->getPath('[civicrm.root]/'), 'Civi/*/WorkflowMessage', '\\'), $this->scanExampleClasses(\Civi::paths()->getPath('[civicrm.root]/'), 'Civi/WorkflowMessage', '\\'), -- 2.25.1