@@ -608,7 +608,7 @@ def test_invalid_parameter(self):
608608 )
609609
610610 self .assertEqual (HTTPStatus .BAD_REQUEST , channel .code , msg = channel .json_body )
611- self .assertEqual (Codes .UNKNOWN , channel .json_body ["errcode" ])
611+ self .assertEqual (Codes .INVALID_PARAM , channel .json_body ["errcode" ])
612612
613613 # invalid deactivated
614614 channel = self .make_request (
@@ -618,7 +618,7 @@ def test_invalid_parameter(self):
618618 )
619619
620620 self .assertEqual (HTTPStatus .BAD_REQUEST , channel .code , msg = channel .json_body )
621- self .assertEqual (Codes .UNKNOWN , channel .json_body ["errcode" ])
621+ self .assertEqual (Codes .INVALID_PARAM , channel .json_body ["errcode" ])
622622
623623 # unkown order_by
624624 channel = self .make_request (
@@ -628,7 +628,7 @@ def test_invalid_parameter(self):
628628 )
629629
630630 self .assertEqual (HTTPStatus .BAD_REQUEST , channel .code , msg = channel .json_body )
631- self .assertEqual (Codes .UNKNOWN , channel .json_body ["errcode" ])
631+ self .assertEqual (Codes .INVALID_PARAM , channel .json_body ["errcode" ])
632632
633633 # invalid search order
634634 channel = self .make_request (
@@ -638,7 +638,7 @@ def test_invalid_parameter(self):
638638 )
639639
640640 self .assertEqual (HTTPStatus .BAD_REQUEST , channel .code , msg = channel .json_body )
641- self .assertEqual (Codes .UNKNOWN , channel .json_body ["errcode" ])
641+ self .assertEqual (Codes .INVALID_PARAM , channel .json_body ["errcode" ])
642642
643643 def test_limit (self ):
644644 """
@@ -2896,7 +2896,7 @@ def test_invalid_parameter(self, method: str):
28962896 )
28972897
28982898 self .assertEqual (HTTPStatus .BAD_REQUEST , channel .code , msg = channel .json_body )
2899- self .assertEqual (Codes .UNKNOWN , channel .json_body ["errcode" ])
2899+ self .assertEqual (Codes .INVALID_PARAM , channel .json_body ["errcode" ])
29002900
29012901 # invalid search order
29022902 channel = self .make_request (
@@ -2906,7 +2906,7 @@ def test_invalid_parameter(self, method: str):
29062906 )
29072907
29082908 self .assertEqual (HTTPStatus .BAD_REQUEST , channel .code , msg = channel .json_body )
2909- self .assertEqual (Codes .UNKNOWN , channel .json_body ["errcode" ])
2909+ self .assertEqual (Codes .INVALID_PARAM , channel .json_body ["errcode" ])
29102910
29112911 # negative limit
29122912 channel = self .make_request (
0 commit comments