public function MailchimpTest::testGetAccount in Mailchimp 8
Tests library functionality for account information.
File
- lib/
mailchimp-api-php/ tests/ MailchimpTest.php, line 17
Class
- MailchimpTest
- Mailchimp library test cases.
Namespace
Mailchimp\TestsCode
public function testGetAccount() {
$mc = new Mailchimp();
$mc
->getAccount();
$this
->assertEquals('GET', $mc
->getClient()->method);
$this
->assertEquals($mc
->getEndpoint() . '/', $mc
->getClient()->uri);
}