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
}