InstalledTest.php 421 B

123456789101112131415161718192021
  1. <?php
  2. namespace Tests\Feature;
  3. use Tests\TestCase;
  4. use Illuminate\Foundation\Testing\RefreshDatabase;
  5. use Illuminate\Foundation\Testing\WithoutMiddleware;
  6. class InstalledTest extends TestCase
  7. {
  8. /** @test */
  9. public function nodeinfo_api()
  10. {
  11. $response = $this->get('/.well-known/nodeinfo');
  12. $response->assertJson([
  13. 'links' => [
  14. ['rel' => 'http://nodeinfo.diaspora.software/ns/schema/2.0'],
  15. ], ]);
  16. }
  17. }