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:
Gary Pendergast 2014-11-20 01:47:30 +00:00
parent cabcace53c
commit 78f496f378
1 changed files with 1 additions and 1 deletions

View File

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