diff --git a/tests/test-class-activitypub-post.php b/tests/test-class-activitypub-post.php index ae15d6f..4f1c74e 100644 --- a/tests/test-class-activitypub-post.php +++ b/tests/test-class-activitypub-post.php @@ -12,12 +12,12 @@ class Test_Activitypub_Post extends WP_UnitTestCase { $activitypub_post = new \Activitypub\Model\Post( $post ); - $this->assertEquals( $permalink, $activitypub_post->get_permalink() ); + $this->assertEquals( $permalink, $activitypub_post->get_id() ); \wp_trash_post( $post ); $activitypub_post = new \Activitypub\Model\Post( $post ); - $this->assertEquals( $permalink, $activitypub_post->get_permalink() ); + $this->assertEquals( $permalink, $activitypub_post->get_id() ); } }