From 1143142b0d591ad1408b5a540c40381df8ce0a3b Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Thu, 1 Oct 2020 19:55:21 +0200 Subject: [PATCH] fixed test --- 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 4f1c74e..ae15d6f 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_id() ); + $this->assertEquals( $permalink, $activitypub_post->get_permalink() ); \wp_trash_post( $post ); $activitypub_post = new \Activitypub\Model\Post( $post ); - $this->assertEquals( $permalink, $activitypub_post->get_id() ); + $this->assertEquals( $permalink, $activitypub_post->get_permalink() ); } }