. */ declare(strict_types=1); namespace API\Endpoints; use App\Tests\API\AuthenticatedApiTestCase; class InfoEndpointTest extends AuthenticatedApiTestCase { public function testGetInfo(): void { $response = self::createAuthenticatedClient()->request('GET', '/api/info'); self::assertResponseIsSuccessful(); self::assertJsonContains([ '@id' => '/api/info', 'title' => 'Part-DB', ]); } }