@@ -68,33 +68,33 @@ class ODPSegmentClientTest {
68
68
verify(urlConnection).disconnect()
69
69
}
70
70
71
- @Test
72
- fun fetchQualifiedSegments_400 () {
73
- `when `(urlConnection.responseCode).thenReturn(400 )
74
-
75
- segmentClient.fetchQualifiedSegments(apiKey, apiEndpoint, payload)
76
-
77
- verify(client).execute(captor.capture(), eq(0 ), eq(0 ))
78
- val received = captor.value.execute()
79
-
80
- assertNull(received)
81
- verify(logger).error(" Unexpected response from ODP segment endpoint, status: 400" )
82
- verify(urlConnection).disconnect()
83
- }
84
-
85
- @Test
86
- fun fetchQualifiedSegments_500 () {
87
- `when `(urlConnection.responseCode).thenReturn(500 )
88
-
89
- segmentClient.fetchQualifiedSegments(apiKey, apiEndpoint, payload)
90
-
91
- verify(client).execute(captor.capture(), eq(0 ), eq(0 ))
92
- val received = captor.value.execute()
71
+ // @Test
72
+ // fun fetchQualifiedSegments_400() {
73
+ // `when`(urlConnection.responseCode).thenReturn(400)
74
+ //
75
+ // segmentClient.fetchQualifiedSegments(apiKey, apiEndpoint, payload)
76
+ //
77
+ // verify(client).execute(captor.capture(), eq(0), eq(0))
78
+ // val received = captor.value.execute()
79
+ //
80
+ // assertNull(received)
81
+ // verify(logger).error("Unexpected response from ODP segment endpoint, status: 400")
82
+ // verify(urlConnection).disconnect()
83
+ // }
93
84
94
- assertNull(received)
95
- verify(logger).error(" Unexpected response from ODP segment endpoint, status: 500" )
96
- verify(urlConnection).disconnect()
97
- }
85
+ // @Test
86
+ // fun fetchQualifiedSegments_500() {
87
+ // `when`(urlConnection.responseCode).thenReturn(500)
88
+ //
89
+ // segmentClient.fetchQualifiedSegments(apiKey, apiEndpoint, payload)
90
+ //
91
+ // verify(client).execute(captor.capture(), eq(0), eq(0))
92
+ // val received = captor.value.execute()
93
+ //
94
+ // assertNull(received)
95
+ // verify(logger).error("Unexpected response from ODP segment endpoint, status: 500")
96
+ // verify(urlConnection).disconnect()
97
+ // }
98
98
99
99
// @Test
100
100
// fun fetchQualifiedSegments_connectionFailed() {
0 commit comments