Fix a MySQL warning in the test_get_adjacent_post_exclude_self_term
unit test, caused by [30400].
See #21212, #22112. git-svn-id: https://develop.svn.wordpress.org/trunk@30401 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cabcace53c
commit
78f496f378
@ -195,7 +195,7 @@ class Tests_Link extends WP_UnitTestCase {
|
||||
function test_get_adjacent_post_exclude_self_term() {
|
||||
// Bump term_taxonomy to mimic shared term offsets.
|
||||
global $wpdb;
|
||||
$wpdb->insert( $wpdb->term_taxonomy, array( 'taxonomy' => 'foo', 'term_id' => 12345 ) );
|
||||
$wpdb->insert( $wpdb->term_taxonomy, array( 'taxonomy' => 'foo', 'term_id' => 12345, 'description' => '' ) );
|
||||
|
||||
$include = $this->factory->term->create( array(
|
||||
'taxonomy' => 'category',
|
||||
|
Loading…
Reference in New Issue
Block a user