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