steffenrost commented on a change in pull request #4403: Add detailed error and 
reason information to status code
URL: 
https://github.com/apache/incubator-openwhisk/pull/4403#discussion_r272085499
 
 

 ##########
 File path: 
tests/src/test/scala/org/apache/openwhisk/http/PoolingRestClientTests.scala
 ##########
 @@ -138,12 +138,19 @@ class PoolingRestClientTests
   }
 
   it should "return a status code on request failure" in {
-    val httpResponse = HttpResponse(NotFound)
+    val customStatusCodeNotFound = StatusCodes
 
 Review comment:
   Agreed, now it should be tested correctly.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to