update test

This commit is contained in:
2026-03-09 13:36:24 +08:00
parent 5e8297d822
commit f95eff3963
4 changed files with 287 additions and 0 deletions
@@ -16,6 +16,11 @@ class ApiKeyTest extends TestCase
{
protected function runInCoroutine(callable $callback): void
{
if (\Swoole\Coroutine::getCid() > 0) {
$callback();
return;
}
$exception = null;
\Swoole\Coroutine\run(static function () use ($callback, &$exception): void {
try {