Make WordPress Core

Changeset 30401


Ignore:
Timestamp:
11/20/2014 01:47:30 AM (10 years ago)
Author:
pento
Message:

Fix a MySQL warning in the test_get_adjacent_post_exclude_self_term unit test, caused by [30400].

See #21212, #22112.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/link.php

    r30383 r30401  
    196196        // Bump term_taxonomy to mimic shared term offsets.
    197197        global $wpdb;
    198         $wpdb->insert( $wpdb->term_taxonomy, array( 'taxonomy' => 'foo', 'term_id' => 12345 ) );
     198        $wpdb->insert( $wpdb->term_taxonomy, array( 'taxonomy' => 'foo', 'term_id' => 12345, 'description' => '' ) );
    199199
    200200        $include = $this->factory->term->create( array(
Note: See TracChangeset for help on using the changeset viewer.