Files
datahub/backend/test/Cases/ExampleTest.php
T

30 lines
544 B
PHP
Raw Normal View History

2025-11-05 16:34:40 +08:00
<?php
declare(strict_types=1);
/**
* This file is part of Hyperf.
*
* @link https://www.hyperf.io
* @document https://hyperf.wiki
* @contact group@hyperf.io
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
*/
namespace HyperfTest\Cases;
use Hyperf\Testing\TestCase;
/**
* @internal
* @coversNothing
*/
class ExampleTest extends TestCase
{
2026-03-06 15:29:04 +08:00
public function testExample(): void
2025-11-05 16:34:40 +08:00
{
2026-03-06 15:29:04 +08:00
$this->get('/health')
->assertOk()
->assertJsonPath('message', 'System status ok');
2025-11-05 16:34:40 +08:00
}
}