Skip to content

Commit 7ee91f1

Browse files
committed
remove hooks
1 parent 8a5f575 commit 7ee91f1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/test-class-activitypub-post.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
<?php
22
class Test_Activitypub_Post extends WP_UnitTestCase {
33
public function test_to_array() {
4-
\add_action( 'wp_trash_post', array( '\Activitypub\Activitypub', 'trash_post' ), 1 );
5-
\add_action( 'untrash_post', array( '\Activitypub\Activitypub', 'untrash_post' ), 1 );
6-
74
$post = \wp_insert_post(
85
array(
96
'post_author' => 1,

0 commit comments

Comments
 (0)