1
0
Fork 0
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
}
}