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
|
<?php
|
||||||
class Test_Activitypub_Post extends WP_UnitTestCase {
|
class Test_Activitypub_Post extends WP_UnitTestCase {
|
||||||
public function test_to_array() {
|
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(
|
$post = \wp_insert_post(
|
||||||
array(
|
array(
|
||||||
'post_author' => 1,
|
'post_author' => 1,
|
||||||
|
|
Loading…
Reference in a new issue