1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 16:24:29 +00:00
pixelfed/tests/Feature/InstalledTest.php

28 lines
587 B
PHP
Raw Normal View History

2018-08-23 04:30:53 +00:00
<?php
namespace Tests\Feature;
use Tests\TestCase;
class InstalledTest extends TestCase
{
public function testLandingTest()
{
$response = $this->get('/');
$response
->assertStatus(200)
->assertSeeText('Image Sharing for Everyone');
}
public function testNodeinfoTest()
{
$response = $this->get('/.well-known/nodeinfo');
$response
->assertStatus(200)
->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
}
}