diff --git a/tests/phpunit/tests/link.php b/tests/phpunit/tests/link.php index ec94d6084e..1de3f68112 100644 --- a/tests/phpunit/tests/link.php +++ b/tests/phpunit/tests/link.php @@ -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',