Add integration tests for analytics adapter#22888
Conversation
Pull Request Test Coverage Report for Build c571f6f7c0a3ddedbd56c66f8b514ca25a1a9017Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
…ures due to insufficient permissions
6047382 to
674bfa7
Compare
|
A merge conflict has been detected for the proposed code changes in this PR. Please resolve the conflict by either rebasing the PR or merging in changes from the base branch. |
vraja-pro
left a comment
There was a problem hiding this comment.
- The class that is being tested is
Site_Kit_Analytics_4_Adapterbut the folder name isAnalytics_4, I would expect to have a folder inAnalytics_4namedSite_Kit_Analytics_4_Adapterand the tests file name should be names only after the method that is being tested without the prefix. get_periodmethod was not covered with tests.
that's exactly what we're doing with the tests of the other module's adapter, For covering |
Context
Summary
This PR can be summarized in the following changelog entry:
Relevant technical choices:
initourselves (which is something we dont want).init, we have to manually use Site Kit's classes to register its endpoints, but this gets a bit messy: 00d428cTest instructions
Test instructions for the acceptance test before the PR gets merged
This PR can be acceptance tested by following these steps:
Relevant test scenarios
Impact check
This PR affects the following parts of the plugin, which may require extra testing:
Other environments
[shopify-seo], added test instructions for Shopify and attached theShopifylabel to this PR.[yoast-doc-extension], added test instructions for Yoast SEO for Google Docs and attached theGoogle Docs Add-onlabel to this PR.Documentation
Quality assurance
grunt build:imagesand commited the results, if my PR introduces new images or SVGs.Innovation
innovationlabel.Fixes #