From 4b97d412e0cb8dede7e233bc80f61b3f1eb5f3c0 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Tue, 27 Dec 2022 16:14:19 +0100 Subject: [PATCH] be sure to register hooks --- tests/test-class-activitypub-post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test-class-activitypub-post.php b/tests/test-class-activitypub-post.php index 9e872c4..2f49c07 100644 --- a/tests/test-class-activitypub-post.php +++ b/tests/test-class-activitypub-post.php @@ -1,6 +1,8 @@ 1, @@ -16,8 +18,6 @@ class Test_Activitypub_Post extends WP_UnitTestCase { \wp_trash_post( $post ); - \sleep( 3 ); - $activitypub_post = new \Activitypub\Model\Post( $post ); $this->assertEquals( $permalink, $activitypub_post->get_id() );