public function MailchimpReportsTest::testGetSummary in Mailchimp 8
Tests library functionality for report information.
File
- lib/
mailchimp-api-php/ tests/ MailchimpReportsTest.php, line 17
Class
- MailchimpReportsTest
- Mailchimp Reports test library.
Namespace
Mailchimp\TestsCode
public function testGetSummary() {
$mc = new MailchimpReports();
$mc
->getSummary();
$this
->assertEquals('GET', $mc
->getClient()->method);
$this
->assertEquals($mc
->getEndpoint() . '/reports', $mc
->getClient()->uri);
}