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
This commit is contained in:
Dominik Schilling (ocean90) 2015-11-04 23:05:03 +00:00
parent 46a7884f1c
commit 3effd276e0

View File

@ -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 ),