openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dube...@apache.org
Subject [incubator-openwhisk-cli] branch master updated: Fix test to not compare namespace to subject (#248)
Date Tue, 20 Mar 2018 21:17:57 GMT
This is an automated email from the ASF dual-hosted git repository.

dubeejw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-cli.git


The following commit(s) were added to refs/heads/master by this push:
     new 956bd84  Fix test to not compare namespace to subject (#248)
956bd84 is described below

commit 956bd84f83fbf70f6775643302b7c2f0542cfcea
Author: James Dubee <jwdubee@us.ibm.com>
AuthorDate: Tue Mar 20 17:17:55 2018 -0400

    Fix test to not compare namespace to subject (#248)
---
 tests/src/test/scala/system/basic/WskBasicTests.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/src/test/scala/system/basic/WskBasicTests.scala b/tests/src/test/scala/system/basic/WskBasicTests.scala
index 04ad24d..3689f3b 100644
--- a/tests/src/test/scala/system/basic/WskBasicTests.scala
+++ b/tests/src/test/scala/system/basic/WskBasicTests.scala
@@ -947,7 +947,7 @@ class WskBasicTests extends TestHelpers with WskTestHelpers {
       getJSONFromResponse(result.stdout, true).fields("name").convertTo[String] shouldBe
triggerName
       getJSONFromResponse(result.stdout, true).fields("version").convertTo[String] shouldBe
"0.0.1"
       getJSONFromResponse(result.stdout, true).fields("publish") shouldBe false.toJson
-      getJSONFromResponse(result.stdout, true).fields("subject").convertTo[String] shouldBe
ns
+      getJSONFromResponse(result.stdout, true).fields("subject").convertTo[String].length
should not be (0)
       getJSONFromResponse(result.stdout, true).fields("activationId").convertTo[String] shouldBe
activation.activationId
       getJSONFromResponse(result.stdout, true).fields("start") should not be JsObject()
       getJSONFromResponse(result.stdout, true).fields("end") shouldBe 0.toJson

-- 
To stop receiving notification emails like this one, please contact
dubeejw@apache.org.

Mime
View raw message