used wrong tag name

This commit is contained in:
Matthias Pfefferle 2019-08-18 22:31:09 +02:00
parent 47c8d57f1a
commit 4dae4fc350

View file

@ -14,7 +14,7 @@ class Test_Activitypub_Hashtag extends WP_UnitTestCase {
}
public function the_content_provider() {
$object_link = get_tag_link( 'object' );
$object_link = get_term_by( 'name', 'object', 'post_tag' );
return array(
array( 'test', 'test' ),