Skip to content

Commit

Permalink
Fix the test (#3430)
Browse files Browse the repository at this point in the history
  • Loading branch information
twose authored Jun 29, 2020
1 parent 5ceb63c commit 5dd3a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/swoole_http2_client_coro/post.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ go(function () {
$req->data = '{"type":"up"}';
$cli->send($req);
$response = $cli->recv();
Assert::same(json_decode($response->data)->error->code, 10002);
Assert::true(in_array(json_decode($response->data)->error->code, [602, 10002], true));
});
?>
--EXPECT--

0 comments on commit 5dd3a3a

Please sign in to comment.