From 81b2b718ee544c46e7f3d824e310b6f70264b9cf Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Mon, 21 Sep 2020 13:25:31 +0200 Subject: [PATCH] rename permalink --- 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 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() ); } }