Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida committed Jun 30, 2021
1 parent d0ce2b9 commit 5cc14f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/databases/api_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
}
],
},
Expand Down Expand Up @@ -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.",
}
],
},
Expand Down

0 comments on commit 5cc14f7

Please sign in to comment.