Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests: Settings and Tagging #25

Merged
merged 7 commits into from
Jul 3, 2024
Merged

Tests: Settings and Tagging #25

merged 7 commits into from
Jul 3, 2024

Conversation

n7studios
Copy link
Contributor

Summary

Adds tests for the settings screen and ensuring members are subscribed and tagged.

Removes the previous wpdb->prepare() statement which was resulting in no membership levels displaying on the settings screen.

Testing

  • MemberTagCest: Tests that members are subscribed and tagged in ConvertKit when configured to do so in the Plugin's settings
  • SettingsCest: Tests that the settings screen works correctly when valid and invalid API keys are specified, and that membership levels can be assigned a tag.

Checklist

@n7studios n7studios self-assigned this Jun 26, 2024
@n7studios n7studios requested review from a team, noelherrick and corydhmiller and removed request for a team July 2, 2024 04:41
@n7studios n7studios marked this pull request as ready for review July 2, 2024 04:41
@n7studios n7studios merged commit 5ba13bb into master Jul 3, 2024
12 checks passed
@n7studios n7studios deleted the test-settings branch July 12, 2024 01:41
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.

2 participants