Skip to content

Commit

Permalink
Re-enabled Test_Author_Queries->tests__author_name_arg_plus_tax_query…
Browse files Browse the repository at this point in the history
…__is_coauthor()
  • Loading branch information
TheCrowned committed Jun 15, 2018
1 parent 2be4599 commit d559799
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test-author-queries.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ public function test__author_name_arg_plus_tax_query__user_is_post_author() {
}

public function tests__author_name_arg_plus_tax_query__is_coauthor() {
return; // TODO: re-enable; fails currently because our posts_join_filter doesn't add an exclusive JOIN on relationships + taxonomy to match the query mods we make. We'd need aliased JOINs on relationships + taxonomy on top of the JOIN that the tax query already adds.

$author1_id = $this->factory->user->create( array( 'role' => 'author', 'user_login' => 'batman' ) );
$author1 = get_userdata( $author1_id );
$author2_id = $this->factory->user->create( array( 'role' => 'author', 'user_login' => 'superman' ) );
Expand Down

0 comments on commit d559799

Please sign in to comment.