update user api
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user