Skip to content

Commit fb2d526

Browse files
committed
chore: fix test cases for cp_connector_test.go
1 parent c8989f4 commit fb2d526

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/oauth/v2/controlplane/cp_connector_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ var _ = Describe("CpConnector", func() {
6464
BasicAuthUser: &testutils.BasicAuthMock{},
6565
})
6666
Expect(statusCode).To(Equal(http.StatusInternalServerError))
67-
Expect(`{"errorType":"timeout","message":"mock mock 127.0.0.1:1234->127.0.0.1:12340: read: operation timed out"}`).To(MatchJSON(respBody))
67+
Expect(`{"errorType":"timeout","message":"mock mock 127.0.0.1:1234->127.0.0.1:12340: read: connection timed out"}`).To(MatchJSON(respBody))
6868
})
6969

7070
It("Test CpApiCall function to test connection reset by peer", func() {

0 commit comments

Comments
 (0)