public function MailchimpEcommerceTest::testGetStores in Mailchimp 8
Tests library functionality for stores information.
File
- lib/
mailchimp-api-php/ tests/ MailchimpEcommerceTest.php, line 17
Class
- MailchimpEcommerceTest
- Mailchimp Ecommerce test library.
Namespace
Mailchimp\TestsCode
public function testGetStores() {
$mc = new MailchimpEcommerce();
$mc
->getStores();
$this
->assertEquals('GET', $mc
->getClient()->method);
$this
->assertEquals($mc
->getEndpoint() . '/ecommerce/stores', $mc
->getClient()->uri);
}