pixelfed/tests/Feature/InstalledTest.php
2022-12-21 22:21:07 +01:00

20 lines
384 B
PHP

<?php
namespace Tests\Feature;
use Tests\TestCase;
class InstalledTest extends TestCase
{
/** @test */
public function nodeinfo_api(): void
{
$response = $this->get('/.well-known/nodeinfo');
$response->assertJson([
'links' => [
['rel' => 'http://nodeinfo.diaspora.software/ns/schema/2.0'],
],
]);
}
}