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

Fix: Get Unit tests passing for 2.4.1 #1029

Merged
merged 13 commits into from
Nov 15, 2023
Merged

Conversation

srtfisher
Copy link
Member

Get tests passing on Apple News with TestKit.

Fixes #1027

@srtfisher srtfisher changed the base branch from release/v2.4.1 to develop November 15, 2023 19:00
@srtfisher srtfisher changed the base branch from develop to release/v2.4.1 November 15, 2023 19:04
@@ -263,7 +263,9 @@ protected function add_http_response(
'body' => $body,
'cookies' => $cookies,
'filename' => $filename,
'headers' => new Requests_Utility_CaseInsensitiveDictionary( $headers ),
'headers' => class_exists( \WpOrg\Requests\Utility\CaseInsensitiveDictionary::class )
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change for WordPress 6.4 (I believe)

@@ -8,9 +8,6 @@

/* phpcs:disable WordPressVIPMinimum.Files.IncludingFile.UsingVariable */

const WP_TESTS_PHPUNIT_POLYFILLS_PATH = __DIR__ . '/../vendor/yoast/phpunit-polyfills'; // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound

const WP_TESTS_MULTISITE = 1; // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to the workflow matrix

Copy link
Member

@attackant attackant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You sir, are a 🎩 and a 👨🏼‍🎓

@attackant attackant merged commit d3fa1af into release/v2.4.1 Nov 15, 2023
8 checks passed
@attackant attackant deleted the hotfix/testkit-fixes branch November 15, 2023 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants