Skip to content

Create Tests Trait - #155

Draft
n7studios wants to merge 3 commits into
masterfrom
tests-trait
Draft

Create Tests Trait#155
n7studios wants to merge 3 commits into
masterfrom
tests-trait

Conversation

@n7studios

@n7studios n7studios commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Moves method tests to a new TestsTrait which can easily be shared with the Kit WordPress Libraries, in the same way the ConvertKit_API_Traits can be easily shared with the Kit WordPress Libraries.

Other methods and test classes are specific to the PHP SDK or WordPress Libraries.

This allows for easy copy/paste of the traits and their tests from the PHP SDK to the WordPress Libraries, without editing other files.

Testing

Existing tests pass.

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant