public function MailchimpAutomationsTest::testGetWorkflowEmails in Mailchimp 8
Tests library functionality for workflow automation emails.
File
- lib/
mailchimp-api-php/ tests/ MailchimpAutomationsTest.php, line 36
Class
Namespace
Mailchimp\TestsCode
public function testGetWorkflowEmails() {
$workflow_id = '57afe96172';
$mc = new MailchimpAutomations();
$mc
->getWorkflowEmails($workflow_id);
$this
->assertEquals('GET', $mc
->getClient()->method);
$this
->assertEquals($mc
->getEndpoint() . '/automations/' . $workflow_id . '/emails', $mc
->getClient()->uri);
}