This is an automated email from the ASF dual-hosted git repository.
japetrsn pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-openwhisk-package-kafka.git
The following commit(s) were added to refs/heads/master by this push:
new 8ac3fb8 Remove test for MessageHub invalid auth (#298)
8ac3fb8 is described below
commit 8ac3fb841aa2c75fec34f821dc744f0a741f8315
Author: James Dubee <[email protected]>
AuthorDate: Mon Oct 15 11:37:41 2018 -0400
Remove test for MessageHub invalid auth (#298)
---
.../test/scala/system/packages/MessageHubProduceTests.scala | 10 ----------
1 file changed, 10 deletions(-)
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)