openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rab...@apache.org
Subject [incubator-openwhisk-cli] branch master updated: Fix redundant statement in test (#409)
Date Tue, 12 Feb 2019 22:11:54 GMT
This is an automated email from the ASF dual-hosted git repository.

rabbah 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 3172036  Fix redundant statement in test (#409)
3172036 is described below

commit 31720362669d80b52ffc57f69ba9096fae22a522
Author: James Dubee <jwdubee@us.ibm.com>
AuthorDate: Tue Feb 12 17:11:43 2019 -0500

    Fix redundant statement in test (#409)
---
 tests/src/integration/integration_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/src/integration/integration_test.go b/tests/src/integration/integration_test.go
index 583f48c..a486099 100644
--- a/tests/src/integration/integration_test.go
+++ b/tests/src/integration/integration_test.go
@@ -342,7 +342,7 @@ func TestSetAPIHostAuthNamespace(t *testing.T) {
 	namespaces := strings.Split(strings.TrimSpace(string(namespace)), "\n")
 	expectedNamespace := string(namespaces[len(namespaces)-1])
 	fmt.Println(wsk.Wskprops.APIHost)
-	if wsk.Wskprops.APIHost != "" && wsk.Wskprops.APIHost != "" {
+	if wsk.Wskprops.APIHost != "" && wsk.Wskprops.AuthKey != "" {
 		stdout, err := wsk.RunCommand("property", "set", "--apihost", wsk.Wskprops.APIHost,
 			"--auth", wsk.Wskprops.AuthKey, "--namespace", expectedNamespace)
 		ouputString := string(stdout)


Mime
View raw message