Problem/Motivation

As @MegaChriz pointed out in #3326617-12: Offering to co-maintain Mailchimp, we have some failing branch tests. These need fixing!

Steps to reproduce

Visit the tests page.

Proposed resolution

  • Run tests locally
  • Figure out why they're breaking (problem in the tests, or in the latest code?)
  • Fix

Issue fork mailchimp-3365691

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bdimaggio created an issue. See original summary.

bdimaggio’s picture

Issue summary: View changes
megachriz’s picture

Yes, I'd like to pick this one up eventually, but now that a big new project has started, it's getting harder to find time for it soon.

pfrenssen made their first commit to this issue’s fork.

pfrenssen’s picture

Version: 2.2.1 » 2.x-dev
Priority: Normal » Major
Status: Active » Needs review

pfrenssen’s picture

Fixed the tests. It was pretty straightforward. We missed to check for test mode in 2 places and missed a schema definition. And the default class returned by mailchimp_get_api_object() has changed to the MailchimpApiUser class.

On PHP 8.2 I still have some deprecation errors but these are not in our code but in the upstream thinkshout/mailchimp-api-php library. I proposed a PR to fix those: #122 Dynamic property creation is deprecated in PHP 8.2

bdimaggio’s picture

Great to see both of these, @pfrenssen. We'll be able to review next week, when the current batch of work settles. Thank you very much!

xenophyle made their first commit to this issue’s fork.

xenophyle’s picture

Status: Needs review » Fixed

Merged in. Thanks for taking care of these!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.