remove hooks
This commit is contained in:
parent
8a5f575803
commit
7ee91f1ab1
1 changed files with 0 additions and 3 deletions
|
@ -1,9 +1,6 @@
|
|||
<?php
|
||||
class Test_Activitypub_Post extends WP_UnitTestCase {
|
||||
public function test_to_array() {
|
||||
\add_action( 'wp_trash_post', array( '\Activitypub\Activitypub', 'trash_post' ), 1 );
|
||||
\add_action( 'untrash_post', array( '\Activitypub\Activitypub', 'untrash_post' ), 1 );
|
||||
|
||||
$post = \wp_insert_post(
|
||||
array(
|
||||
'post_author' => 1,
|
||||
|
|
Loading…
Reference in a new issue