update user api

This commit is contained in:
2026-03-06 15:29:04 +08:00
parent e6130d76c7
commit 3eb517bc3a
8 changed files with 412 additions and 11 deletions
+4 -2
View File
@@ -20,8 +20,10 @@ use Hyperf\Testing\TestCase;
*/
class ExampleTest extends TestCase
{
public function testExample()
public function testExample(): void
{
$this->get('/')->assertOk()->assertSee('Hyperf');
$this->get('/health')
->assertOk()
->assertJsonPath('message', 'System status ok');
}
}