1
0
Fork 0
forked from mirror/pixelfed
pixelfed/tests/Feature/InstalledTest.php
Daniel Supernault 2598520bbe
Update tests
2021-02-12 22:50:46 -07:00

21 lines
421 B
PHP

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