pixelfed/tests/Feature/InstalledTest.php

20 lines
384 B
PHP
Raw Normal View History

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