public function MailchimpListsTestCase::testGetList in Mailchimp 7.4
Same name and namespace in other branches
- 7.5 modules/mailchimp_lists/tests/mailchimp_lists.test \MailchimpListsTestCase::testGetList()
- 7.3 modules/mailchimp_lists/tests/mailchimp_lists.test \MailchimpListsTestCase::testGetList()
Tests retrieval of a specific list.
File
- modules/
mailchimp_lists/ tests/ mailchimp_lists.test, line 61 - Test class and methods for the Mailchimp Lists module.
Class
- MailchimpListsTestCase
- @file Test class and methods for the Mailchimp Lists module.
Code
public function testGetList() {
$list_id = '57afe96172';
$list = mailchimp_get_list($list_id);
$this
->assertEqual($list->id, $list_id);
$this
->assertEqual($list->name, 'Test List One');
}