fixed test

This commit is contained in:
Matthias Pfefferle 2020-10-01 19:55:21 +02:00
parent b3d9f8862b
commit 1143142b0d

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