simpler filter
thanks @mattwiebe
This commit is contained in:
parent
a5bc7628cf
commit
dd7daf29da
1 changed files with 1 additions and 6 deletions
|
@ -95,12 +95,7 @@ class Test_Activitypub_Activity_Dispatcher extends ActivityPub_TestCase_Cache_HT
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_dispatch_announce() {
|
public function test_dispatch_announce() {
|
||||||
add_filter(
|
add_filter( 'activitypub_is_user_type_disabled', '__return_false' );
|
||||||
'activitypub_is_user_type_disabled',
|
|
||||||
function( $value ) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
$followers = array( 'https://example.com/author/jon' );
|
$followers = array( 'https://example.com/author/jon' );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue