mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-23 23:11:27 +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'],
|
|
],
|
|
]);
|
|
}
|
|
}
|