/**
* Get a list of example data-sets.
*
- * Examples are generated by scanning `*.ex.php` files. The scanner caches
+ * Examples are generated by scanning `ExampleDataInterface` files. The scanner caches
* metadata fields (`name`, `title`, `tags`, `file`) to avoid extraneous scanning, but
* substantive fields (`data`) are computed as-needed.
*
* @throws \Civi\API\Exception\UnauthorizedException
*/
public function testExampleGet() {
- $file = \Civi::paths()->getPath('[civicrm.root]/tests/phpunit/CRM/Case/WorkflowMessage/CaseActivity/CaseModelExample.ex.php');
+ $file = \Civi::paths()->getPath('[civicrm.root]/tests/phpunit/CRM/Case/WorkflowMessage/CaseActivity/CaseModelExample.php');
$name = 'workflow/case_activity/CaseModelExample';
$this->assertTrue(file_exists($file), "Expect find canary file ($file)");
* @throws \Civi\API\Exception\UnauthorizedException
*/
public function testGet() {
- $file = \Civi::paths()->getPath('[civicrm.root]/Civi/WorkflowMessage/GenericWorkflowMessage/Alex.ex.php');
+ $file = \Civi::paths()->getPath('[civicrm.root]/Civi/WorkflowMessage/GenericWorkflowMessage/Alex.php');
$name = 'workflow/generic/Alex';
$this->assertTrue(file_exists($file), "Expect find canary file ($file)");