Use "automation" instead of "workflow" in user-facing strings

[MAILPOET-4758]
This commit is contained in:
Jan Jakes
2022-11-02 21:29:35 +01:00
committed by David Remer
parent ccb5369c57
commit dc5e5b4f8b
39 changed files with 88 additions and 88 deletions

View File

@ -87,7 +87,7 @@ class StepHandlerTest extends \MailPoetTest
try {
$this->testee->handle(['workflow_run_id' => $workflowRun->getId(), 'step_id' => $currentStep->getId()]);
} catch (InvalidStateException $error) {
$this->assertSame('mailpoet_automation_workflow_not_active', $error->getErrorCode(), "Workflow with '$status' did not return expected error code.");
$this->assertSame('mailpoet_automation_workflow_not_active', $error->getErrorCode(), "Automation with '$status' did not return expected error code.");
}
$this->assertInstanceOf(InvalidStateException::class, $error);