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