From 92822bbd92319fb8bc77284ddcfb6413c84524a2 Mon Sep 17 00:00:00 2001 From: NathanFreeman <1056159381@qq.com> Date: Tue, 12 Dec 2023 20:20:07 +0800 Subject: [PATCH] Fix http2 test --- tests/swoole_http2_client_coro/post.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/swoole_http2_client_coro/post.phpt b/tests/swoole_http2_client_coro/post.phpt index 19dc7cc61b4..d789b3d4afd 100644 --- a/tests/swoole_http2_client_coro/post.phpt +++ b/tests/swoole_http2_client_coro/post.phpt @@ -29,7 +29,7 @@ go(function () { $req->data = '{"type":"up"}'; $cli->send($req); $response = $cli->recv(); - Assert::true(in_array(json_decode($response->data)->error->code, [602, 10002], true)); + Assert::true(in_array(json_decode($response->data)->error->code, [602, 10002, 100], true)); }); ?> --EXPECT--