Skip to content

Commit

Permalink
Fix tests: Account for wp_mock error.
Browse files Browse the repository at this point in the history
Account for 10up/wp_mock#173
peterwilsoncc committed Oct 17, 2022
1 parent 9156b1a commit a8bbdcd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/php/SubscriptionsTest.php
Original file line number Diff line number Diff line change
@@ -368,9 +368,9 @@ public function test_send_notifications_no_remote_post() {
'post_type' => 'post',
'content' => 'content',
'excerpt' => 'excerpt',
'distributor_media' => [],
'distributor_terms' => [],
'distributor_meta' => [],
'distributor_media' => null, // Accounts for https://github.com/10up/wp_mock/issues/173
'distributor_terms' => null, // Accounts for https://github.com/10up/wp_mock/issues/173
'distributor_meta' => null, // Accounts for https://github.com/10up/wp_mock/issues/173
]
] ),
'headers' => [
@@ -559,9 +559,9 @@ public function test_send_notifications_remote_post_exists() {
'post_type' => 'post',
'content' => 'content',
'excerpt' => 'excerpt',
'distributor_media' => [],
'distributor_terms' => [],
'distributor_meta' => [],
'distributor_media' => null, // Accounts for https://github.com/10up/wp_mock/issues/173
'distributor_terms' => null, // Accounts for https://github.com/10up/wp_mock/issues/173
'distributor_meta' => null, // Accounts for https://github.com/10up/wp_mock/issues/173
],
] ),
'headers' => [

0 comments on commit a8bbdcd

Please sign in to comment.