AxeWP / wp-graphql-rank-math

Add GraphQL support for RankMath SEO
GNU General Public License v3.0
50 stars 7 forks source link

feat: setup globals in models #16

Closed justlevine closed 1 year ago

justlevine commented 1 year ago

What

This PR adds the setup() method to the GraphQL Models, ensuring the correct WP Globals are used to parsed the API requests to RM.

Similarly, it moves the fullHead and openGraph tests from WPUnit to Functional, to prevent stale globals from causing successive tests to fail.

Why

How

Testing Instructions

Additional Info

Checklist: