-
Notifications
You must be signed in to change notification settings - Fork 21
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
API PULL - Validate MC connection in notifications #2336
API PULL - Validate MC connection in notifications #2336
Conversation
UNit test not running due a problem with the API for getting the plugin versions. Seems not related to this PR. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feature/google-api-project #2336 +/- ##
==============================================================
+ Coverage 64.1% 64.2% +0.2%
- Complexity 4450 4478 +28
==============================================================
Files 472 471 -1
Lines 18775 18853 +78
==============================================================
+ Hits 12031 12110 +79
+ Misses 6744 6743 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @puntope for adding this! It works well 👍
Do you want to merge this to feature/google-api-project
or add/grant-access-to-google-wpcom-app-in-setting-page, mainly because the other changes that you did are merged in grant-access-to-google-wpcom-app-in-setting-page
I did it in the main PR because I'm not using any function or service from the Do you think I should merge it in |
…nto add/validate-mc-connection-in-notifications
… add/validate-mc-connection-in-notifications
…tion-in-notifications
Changes proposed in this Pull Request:
Follow up for #2326 (comment)
This PR introduces a check for MC Connection in the NotificationService class before the notify() is sent.
Detailed test instructions:
woocommerce_gla_notifications_enabled
filter