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