Skip to content

Commit 7437a56

Browse files
author
Levent KARAGÖL
committed
SSL error message has been fixed
1 parent 5bd1aa7 commit 7437a56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,7 @@ TEST(InvalidSSLTest, HttpGetRequestMustReturnErrorForAnInvalidSsl) {
730730

731731
ASSERT_FALSE(response.succeed) << "HTTP Request failed";
732732
ASSERT_EQ(response.statusCode, 0) << "HTTP Status Code is not 0";
733-
ASSERT_EQ(response.errorMessage, "SSL peer certificate or SSH remote key was not OK") << "HTTP Error Message is invalid";
733+
ASSERT_FALSE(response.errorMessage.empty()) << "HTTP Error Message is empty";
734734
}
735735

736736
TEST(InvalidSSLTest, HttpGetRequestMustBeCompletedSuccessfullyForAnInvalidSslIfIgnoreSslErrorsFieldSetTrue) {

0 commit comments

Comments
 (0)