This is an automated email from the ASF dual-hosted git repository. houshengbo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-cli.git
commit 162aea6d50e72347270204e1477edf3e0ecd4e6f Author: rodric rabbah <[email protected]> AuthorDate: Fri Jun 30 19:30:11 2017 -0400 Add default allow headers. (#2451) --- tests/src/test/scala/whisk/core/cli/test/WskWebActionsTests.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/src/test/scala/whisk/core/cli/test/WskWebActionsTests.scala b/tests/src/test/scala/whisk/core/cli/test/WskWebActionsTests.scala index 14b9535..b250e67 100644 --- a/tests/src/test/scala/whisk/core/cli/test/WskWebActionsTests.scala +++ b/tests/src/test/scala/whisk/core/cli/test/WskWebActionsTests.scala @@ -225,8 +225,8 @@ trait WskWebActionsTests response.statusCode shouldBe 200 response.header("Access-Control-Allow-Origin") shouldBe "Origin set from Web Action" - response.header("Access-Control-Allow-Headers") shouldBe "Headers set from Web Action" response.header("Access-Control-Allow-Methods") shouldBe "Methods set from Web Action" + response.header("Access-Control-Allow-Headers") shouldBe "Headers set from Web Action" response.header("Location") shouldBe "openwhisk.org" response.header("Set-Cookie") shouldBe "cookie-cookie-cookie" } @@ -250,6 +250,7 @@ trait WskWebActionsTests response.statusCode shouldBe 200 response.header("Access-Control-Allow-Origin") shouldBe "*" response.header("Access-Control-Allow-Methods") shouldBe "OPTIONS, GET, DELETE, POST, PUT, HEAD, PATCH" + response.header("Access-Control-Allow-Headers") shouldBe "Authorization, Content-Type" response.header("Location") shouldBe null response.header("Set-Cookie") shouldBe null } -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
