From 5cc14f7c8ef3194a801a77fa87fb17770517acdf Mon Sep 17 00:00:00 2001 From: Beto Dealmeida Date: Wed, 30 Jun 2021 13:00:42 -0700 Subject: [PATCH] Fix test --- tests/databases/api_tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/databases/api_tests.py b/tests/databases/api_tests.py index 345ab2eab1f50..af0cc49552065 100644 --- a/tests/databases/api_tests.py +++ b/tests/databases/api_tests.py @@ -1819,21 +1819,21 @@ def test_validate_parameters_invalid_port(self): "issue_codes": [ { "code": 1034, - "message": "Issue 1034 - Port number is invalid.", + "message": "Issue 1034 - The port number is invalid.", } ], }, }, { - "error_type": "CONNECTION_INVALID_PORT_ERROR", "message": "The port must be an integer between 0 and 65535 (inclusive).", + "error_type": "CONNECTION_INVALID_PORT_ERROR", "level": "error", "extra": { "invalid": ["port"], "issue_codes": [ { "code": 1034, - "message": "Issue 1034 - Port number is invalid.", + "message": "Issue 1034 - The port number is invalid.", } ], }, @@ -1949,7 +1949,7 @@ def test_validate_parameters_invalid_port_range(self, is_hostname_valid): "issue_codes": [ { "code": 1034, - "message": "Issue 1034 - Port number is invalid.", + "message": "Issue 1034 - The port number is invalid.", } ], },