Skip to content
Snippets Groups Projects
Unverified Commit b03e69bb authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #23854 from totten/master-mixin-wfmsg

Scan for classes based on the PHP interface (WorkflowMessageInterface, ExampleDataInterface)
parents a80402bc 652a831d
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ class CRM_Case_WorkflowMessage_CaseActivityTest extends CiviUnitTestCase {
* @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)");
......
......@@ -33,7 +33,7 @@ class ExampleDataTest extends Api4TestBase {
* @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)");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment