diff --git a/tests/feature/test-profile-byline-sync.php b/tests/feature/test-profile-byline-sync.php index 0a8050cf..88536c6c 100755 --- a/tests/feature/test-profile-byline-sync.php +++ b/tests/feature/test-profile-byline-sync.php @@ -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 ) ); } }