Fix test to use created workflow
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 25 Jun 2023 05:59:07 +0000 (22:59 -0700)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 25 Jun 2023 05:59:07 +0000 (22:59 -0700)
commitf935c7b49bbb85bb72b9eab3f7cb3d59719d990e
treec9005c9cffb5e8b5d0e66d968d4653a821301418
parent11abfeb45b371e58269cd4dc031182cd0ed73494
Fix test to use created workflow

Currently it uses a 'real' workflow & if we change the workflow the test breaks
- which is not what the test is testing. The test checks loading & rendering from
the database, not a specific workflow. This fixes to create a template
for the test, rather than using a real one
tests/phpunit/Civi/WorkflowMessage/ExampleWorkflowMessageTest.php