@@ -68,33 +68,33 @@ class ODPSegmentClientTest {
6868 verify(urlConnection).disconnect()
6969 }
7070
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+ // }
9384
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+ // }
9898
9999// @Test
100100// fun fetchQualifiedSegments_connectionFailed() {
0 commit comments