From 3effd276e0f9a1b7086206b5ee2578145d681715 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Wed, 4 Nov 2015 23:05:03 +0000 Subject: [PATCH] After [35518] define `$_POST['post_view']` in `test_dont_process_terms_if_taxonomy_does_not_allow_show_on_quick_edit()`. See #34577. git-svn-id: https://develop.svn.wordpress.org/trunk@35531 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/ajax/QuickEdit.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/tests/ajax/QuickEdit.php b/tests/phpunit/tests/ajax/QuickEdit.php index 357ab1fdab..3f9da0465e 100644 --- a/tests/phpunit/tests/ajax/QuickEdit.php +++ b/tests/phpunit/tests/ajax/QuickEdit.php @@ -48,6 +48,7 @@ class Tests_Ajax_QuickEdit extends WP_Ajax_UnitTestCase { $_POST['_status'] = $post->post_status; $_POST['post_status'] = $post->post_status; $_POST['screen'] = 'post'; + $_POST['post_view'] = 'excerpt'; $_POST['tax_input'] = array( 'wptests_tax_1' => array( $t1 ), 'wptests_tax_2' => array( $t2 ),