Yoast / yoast-acf-analysis

WordPress plugin that adds the content of all ACF fields to the Yoast SEO score analysis.
https://wordpress.org/plugins/acf-content-analysis-for-yoast-seo/
GNU General Public License v3.0
61 stars 20 forks source link

CS/QA: fix incorrect parameter order in test assertions #341

Closed jrfnl closed 1 year ago

jrfnl commented 1 year ago

Summary

This PR can be summarized in the following changelog entry:

Relevant technical choices:

Fix incorrect parameter order in test assertions, which makes debugging harder.

The first parameter for assertSame() is the $expected value, the second should be the actual value, like retrieved via a function call.

Test instructions

This PR can be tested by following these steps:

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 4855992070


Totals Coverage Status
Change from base Build 4855928599: 0.0%
Covered Lines: 128
Relevant Lines: 244

💛 - Coveralls