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

Merge pull request #18626 from demeritcowboy/why-no-id

[Test framework] Wrong group id in mailing test setup
parents ee398454 249b6cdb
Branches
Tags
No related merge requests found
......@@ -163,7 +163,7 @@ class CRM_Utils_Mail_EmailProcessorTest extends CiviUnitTestCase {
'api.GroupContact.create' => [
'contact_id' => $this->contactID,
],
]);
])['id'];
$this->createMailing(['scheduled_date' => 'now', 'groups' => ['include' => [$groupID]]]);
$this->callAPISuccess('job', 'process_mailing', []);
$this->eventQueue = $this->callAPISuccess('MailingEventQueue', 'get', ['api.MailingEventQueue.create' => ['hash' => 'aaaaaaaaaaaaaaaa']]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment