From 6a20f81a85d453b6892d96dfe5ced1a527434110 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20Bran=CC=83a=20Bouza?= Date: Mon, 22 Apr 2024 23:38:31 +0300 Subject: [PATCH] test --- tests/feature/test-profile-byline-sync.php | 10 ---------- 1 file changed, 10 deletions(-) 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 ) ); } }