1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-27 02:06:52 +00:00
pixelfed/tests/Feature/InstalledTest.php

21 lines
470 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
{
2019-01-31 01:39:51 +00:00
/** @test */
public function nodeinfo_api()
2018-08-23 04:30:53 +00:00
{
$response = $this->get('/.well-known/nodeinfo');
2019-01-31 01:39:51 +00:00
$response->assertJson([
2018-08-28 03:07:36 +00:00
'links' => [
['rel' => 'http://nodeinfo.diaspora.software/ns/schema/2.0'],
], ]);
2018-08-23 04:30:53 +00:00
}
}