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