rename permalink
This commit is contained in:
parent
a875b90054
commit
81b2b718ee
1 changed files with 2 additions and 2 deletions
|
@ -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() );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue