diff --git a/tests/phpunit/tests/query.php b/tests/phpunit/tests/query.php index ed2b459448..bb29d18d5e 100644 --- a/tests/phpunit/tests/query.php +++ b/tests/phpunit/tests/query.php @@ -251,7 +251,7 @@ class Tests_Query extends WP_UnitTestCase { wp_set_object_terms( $p3, $t2->slug, 'post_tag' ); $url = add_query_arg( array( - 'tag' => $t1, + 'tag' => $t1->slug, ), '/' ); $this->go_to( $url );