From aa53bec4e4b2e7d2ad3a371dc89c558e81f9452e Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Sun, 18 Aug 2019 22:34:28 +0200 Subject: [PATCH] oops --- tests/test-class-activitypub-hashtag.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test-class-activitypub-hashtag.php b/tests/test-class-activitypub-hashtag.php index 2fa9466..ed7e428 100644 --- a/tests/test-class-activitypub-hashtag.php +++ b/tests/test-class-activitypub-hashtag.php @@ -14,13 +14,14 @@ class Test_Activitypub_Hashtag extends WP_UnitTestCase { } public function the_content_provider() { - $object_link = get_term_by( 'name', 'object', 'post_tag' ); + $object = get_term_by( 'name', 'object', 'post_tag' ); + $link = get_tag_link( $object ); return array( array( 'test', 'test' ), array( '#test', '#test' ), array( 'hallo #test test', 'hallo #test test' ), - array( 'hallo #object test', 'hallo test' ), + array( 'hallo #object test', 'hallo test' ), ); } }