wordpress-activitypub/tests/test-functions.php

8 lines
260 B
PHP
Raw Normal View History

2022-12-09 11:59:24 +01:00
<?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 );
}
}