rename permalink

This commit is contained in:
Matthias Pfefferle 2020-09-21 13:25:31 +02:00
parent a875b90054
commit 81b2b718ee

View file

@ -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() );
}
}