Skip to content

Instantly share code, notes, and snippets.

@xurizaemon
Created September 19, 2016 11:06
Show Gist options
  • Save xurizaemon/492945f14716c83cf4d783877569c284 to your computer and use it in GitHub Desktop.
Save xurizaemon/492945f14716c83cf4d783877569c284 to your computer and use it in GitHub Desktop.
PHPUnit 5.5.4 by Sebastian Bergmann and contributors.
....EE.....................F........FFFFFFEEEEEEEEEEE..... 58 / 58 (100%)
Time: 1.43 minutes, Memory: 68.50MB
There were 13 errors:
1) MailchimpApiIntegrationMockTest::testPostHookForMembershipListChanges
CiviCRM_API3_Exception: Method call:
- patch("/lists/dummylistid/members/b79fb4c4f7bf0d85887df8"..., ["status" => "unsubscribed"])
on Double\CRM_Mailchimp_Api3\P3 was not expected, expected calls were:
- put(exact("/lists/dummylistid/members/b79fb4c4f7bf0d85887df8"...), callback())
/Users/chris/Sites/civicrm.dev/sites/all/modules/civicrm/api/api.php:45
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationMockTest.php:238
2) MailchimpApiIntegrationMockTest::testPostHookForInterestGroupChanges
CiviCRM_API3_Exception: Method call:
- patch("/lists/dummylistid/members/b79fb4c4f7bf0d85887df8"..., ["status" => "unsubscribed"])
on Double\CRM_Mailchimp_Api3\P5 was not expected, expected calls were:
- put(exact("/lists/dummylistid/members/b79fb4c4f7bf0d85887df8"...), callback())
/Users/chris/Sites/civicrm.dev/sites/all/modules/civicrm/api/api.php:45
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationMockTest.php:334
3) MailchimpApiIntegrationTest::testPushUnsubscribes
CiviCRM_API3_Exception: Expected one Contact but found 2
/Users/chris/Sites/civicrm.dev/sites/all/modules/civicrm/api/api.php:45
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:57
4) MailchimpApiIntegrationTest::testPushDoesNotUnsubscribeDuplicates
CiviCRM_API3_Exception: Expected one Contact but found 2
/Users/chris/Sites/civicrm.dev/sites/all/modules/civicrm/api/api.php:45
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:57
5) MailchimpApiIntegrationTest::testPullChangesName
CiviCRM_API3_Exception: Expected one Contact but found 2
/Users/chris/Sites/civicrm.dev/sites/all/modules/civicrm/api/api.php:45
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:57
6) MailchimpApiIntegrationTest::testPullChangesInterests
CiviCRM_API3_Exception: Expected one Contact but found 2
/Users/chris/Sites/civicrm.dev/sites/all/modules/civicrm/api/api.php:45
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:57
7) MailchimpApiIntegrationTest::testPullChangesNonPullInterests
CiviCRM_API3_Exception: Expected one Contact but found 2
/Users/chris/Sites/civicrm.dev/sites/all/modules/civicrm/api/api.php:45
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:57
8) MailchimpApiIntegrationTest::testPullAddsContact
CiviCRM_API3_Exception: Expected one Contact but found 2
/Users/chris/Sites/civicrm.dev/sites/all/modules/civicrm/api/api.php:45
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:57
9) MailchimpApiIntegrationTest::testPullRemovesContacts
CiviCRM_API3_Exception: Expected one Contact but found 2
/Users/chris/Sites/civicrm.dev/sites/all/modules/civicrm/api/api.php:45
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:57
10) MailchimpApiIntegrationTest::testPullContactWithOtherEmailInSync
CiviCRM_API3_Exception: Expected one Contact but found 2
/Users/chris/Sites/civicrm.dev/sites/all/modules/civicrm/api/api.php:45
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:57
11) MailchimpApiIntegrationTest::testPullContactWithOtherEmailDiff
CiviCRM_API3_Exception: Expected one Contact but found 2
/Users/chris/Sites/civicrm.dev/sites/all/modules/civicrm/api/api.php:45
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:57
12) MailchimpApiIntegrationTest::testPullIgnoresDuplicates
CiviCRM_API3_Exception: Expected one Contact but found 2
/Users/chris/Sites/civicrm.dev/sites/all/modules/civicrm/api/api.php:45
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:57
13) MailchimpApiIntegrationTest::testSyncInterestGroupings
CiviCRM_API3_Exception: Expected one Contact but found 2
/Users/chris/Sites/civicrm.dev/sites/all/modules/civicrm/api/api.php:45
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:57
--
There were 7 failures:
1) MailchimpApiIntegrationMockTest::testWebhookSubscribeExistingChangesData
Contact '300' should not be in group '6', but is.
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationBase.php:610
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationMockTest.php:1603
2) MailchimpApiIntegrationTest::testPing
Exception: Mailchimp API said: Resource Not Found
Failed asserting that false is true.
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:82
3) MailchimpApiIntegrationTest::testBatch
Exception: Mailchimp API said: Resource Not Found
Failed asserting that false is true.
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:82
4) MailchimpApiIntegrationTest::testLists
Exception: Mailchimp API said: Resource Not Found
Failed asserting that false is true.
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:82
5) MailchimpApiIntegrationTest::test404
Exception: Mailchimp API said: Resource Not Found
Failed asserting that false is true.
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:82
6) MailchimpApiIntegrationTest::testPushAddsNewPerson
Exception: Mailchimp API said: Resource Not Found
Failed asserting that false is true.
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:82
7) MailchimpApiIntegrationTest::testPushChangedName
$matches is as expected.
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
- 'bySubscribers' => 1
+ 'bySubscribers' => 0
'byUniqueEmail' => 0
'byNameEmail' => 0
'bySingle' => 0
- 'totalMatched' => 1
+ 'totalMatched' => 0
'newContacts' => 0
'failures' => 0
)
/Users/chris/Sites/civicrm.dev/sites/default/files/civicrm/ext/uk.co.vedaconsulting.mailchimp/tests/integration/MailchimpApiIntegrationTest.php:332
ERRORS!
Tests: 58, Assertions: 436, Errors: 13, Failures: 7.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment