wordpress-activitypub/tests/test-functions.php
2023-01-27 15:48:28 +01:00

7 lines
260 B
PHP

<?php
class Test_Functions extends ActivityPub_TestCase_Cache_HTTP {
public function test_get_remote_metadata_by_actor() {
$metadata = \ActivityPub\get_remote_metadata_by_actor( 'pfefferle@notiz.blog' );
$this->assertArrayHasKey( 'url', $metadata );
}
}