We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a5f575 commit 7ee91f1Copy full SHA for 7ee91f1
tests/test-class-activitypub-post.php
@@ -1,9 +1,6 @@
1
<?php
2
class Test_Activitypub_Post extends WP_UnitTestCase {
3
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
-
7
$post = \wp_insert_post(
8
array(
9
'post_author' => 1,
0 commit comments