mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-27 18:26:50 +00:00
19 lines
384 B
PHP
19 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'],
|
|
],
|
|
]);
|
|
}
|
|
}
|