1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-26 17:56:48 +00:00
pixelfed/tests/Feature/InstalledTest.php

22 lines
421 B
PHP
Raw Normal View History

2018-08-23 04:30:53 +00:00
<?php
namespace Tests\Feature;
use Tests\TestCase;
2019-01-31 01:39:51 +00:00
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithoutMiddleware;
2018-08-23 04:30:53 +00:00
class InstalledTest extends TestCase
{
2021-02-13 05:50:46 +00:00
/** @test */
public function nodeinfo_api()
{
$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
}