dubeejw commented on a change in pull request #2458: wsk CLI should tolerate
APIs that do not yet have a mapped action
URL:
https://github.com/apache/incubator-openwhisk/pull/2458#discussion_r125956851
##########
File path: tests/src/test/scala/whisk/core/cli/test/ApiGwTests.scala
##########
@@ -1212,4 +1212,29 @@ class ApiGwTests
var rr = apiDelete(basepathOrApiName = nonexistentApi,
expectedExitCode = ANY_ERROR_EXIT)
rr.stderr should include (s"API '${nonexistentApi}' does not exist")
}
+
+ it should "successfully list an API whose endpoints are not mapped to
actions" in {
+ val testName = "CLI_APIGWTEST23"
+ var testapiname = "A descriptive name"
Review comment:
I believe Scala naming conventions call for the use camel casing for var and
val.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services