markusthoemmes commented on a change in pull request #3671: Activation id in
header
URL:
https://github.com/apache/incubator-openwhisk/pull/3671#discussion_r204346836
##########
File path:
tests/src/test/scala/whisk/core/controller/test/WebActionsApiTests.scala
##########
@@ -932,7 +934,10 @@ trait WebActionsApiBaseTests extends ControllerTestCommon
with BeforeAndAfterEac
m(s"$testRoutePath/$path") ~> Route.seal(routes(creds)) ~> check {
status should be(statusCode)
- headers shouldBe List(RawHeader("Set-Cookie", "a=b"))
+ headers.exists(header => {
+ header.is("set-cookie") && header.value() == "a=b"
+ }) shouldBe true
+ headers.exists(_.is(ActivationIdHeaderInLowercase)) shouldBe true
Review comment:
See comment above, please rewrite both of these into "contains" checks.
----------------------------------------------------------------
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