oops
This commit is contained in:
parent
4dae4fc350
commit
aa53bec4e4
1 changed files with 3 additions and 2 deletions
|
@ -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 <a rel="tag" class="u-tag u-category" href="' . $object_link . '">#object</a> test' ),
|
||||
array( 'hallo #object test', 'hallo <a rel="tag" class="u-tag u-category" href="' . $link . '">#object</a> test' ),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue