You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/10/15 15:37:43 UTC

[GitHub] jasonpet closed pull request #298: Remove test for MessageHub invalid auth

jasonpet closed pull request #298: Remove test for MessageHub invalid auth
URL: https://github.com/apache/incubator-openwhisk-package-kafka/pull/298
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/tests/src/test/scala/system/packages/MessageHubProduceTests.scala b/tests/src/test/scala/system/packages/MessageHubProduceTests.scala
index 6f46186..5cddefb 100644
--- a/tests/src/test/scala/system/packages/MessageHubProduceTests.scala
+++ b/tests/src/test/scala/system/packages/MessageHubProduceTests.scala
@@ -110,16 +110,6 @@ class MessageHubProduceTests
         testMissingParameter("value")
     }
 
-    it should "Reject with bad credentials" in {
-        val badAuthParams = validParameters + ("user" -> "ThisWillNeverWork".toJson)
-
-        withActivation(wsk.activation, wsk.action.invoke(s"$messagingPackage/$messageHubProduce", badAuthParams), totalWait = 60 seconds) {
-            activation =>
-                activation.response.success shouldBe false
-                activation.response.result.get.toString should include("Authentication failed")
-        }
-    }
-
     it should "Reject trying to decode a non-base64 key" in {
         val badKeyParams = validParameters + ("key" -> "?".toJson) + ("base64DecodeKey" -> true.toJson)
 


 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services