markusthoemmes commented on a change in pull request #3788: Store and pass 
variant data in AuthKey
URL: 
https://github.com/apache/incubator-openwhisk/pull/3788#discussion_r196835878
 
 

 ##########
 File path: 
tests/src/test/scala/whisk/core/containerpool/test/ContainerProxyTests.scala
 ##########
 @@ -761,7 +761,7 @@ class ContainerProxyTests
     override def run(parameters: JsObject, environment: JsObject, timeout: 
FiniteDuration)(
       implicit transid: TransactionId): Future[(Interval, ActivationResponse)] 
= {
       runCount += 1
-      environment.fields("api_key") shouldBe message.user.authkey.toJson
+      environment.fields("api_key") shouldBe 
message.user.authkey.toEnvironment.fields("api_key")
 
 Review comment:
   Should this check if `environment` contains all keys + values from 
`message.user.authkey.toEnvironment` for completeness?

----------------------------------------------------------------
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

Reply via email to