You are here

protected function MailChimpTest::writeLists in Mailchimp 7.2

Saves list changes.

3 calls to MailChimpTest::writeLists()
MailChimpTest::listSubscribe in tests/mailchimp_tests.inc
Subscribe a user to a list.
MailChimpTest::listUnsubscribe in tests/mailchimp_tests.inc
Unsubscribe a user from a list.
MailChimpTest::listUpdateMember in tests/mailchimp_tests.inc
Update a list member.

File

tests/mailchimp_tests.inc, line 266
A virtual MailChimp API implementation for use in testing.

Class

MailChimpTest
@file A virtual MailChimp API implementation for use in testing.

Code

protected function writeLists($lists) {
  variable_set('mailchimp_test_list_data', $lists);
}