Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
juliobranha committed Apr 22, 2024
1 parent 40db0d9 commit 6a20f81
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/feature/test-profile-byline-sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,9 @@ public function test_byline_relationships() {
]
);

$post_type_with_author = 'test-with-author';
register_post_type(
$post_type_with_author,
[
'public' => true,
'supports' => [ 'title', 'editor', 'author' ],
]
);

unregister_taxonomy( BYLINE_TAXONOMY );
register_byline();

$this->assertFalse( is_object_in_taxonomy( $post_type_no_author, BYLINE_TAXONOMY ) );
$this->assertTrue( is_object_in_taxonomy( $post_type_with_author, BYLINE_TAXONOMY ) );
}
}

0 comments on commit 6a20f81

Please sign in to comment.