diff --git a/tests/src/test/scala/services/HeadersTests.scala b/tests/src/test/scala/services/HeadersTests.scala index f3184c87f12..ab3792ccd05 100644 --- a/tests/src/test/scala/services/HeadersTests.scala +++ b/tests/src/test/scala/services/HeadersTests.scala @@ -196,22 +196,6 @@ class HeadersTests extends FlatSpec with Matchers with ScalaFutures with WskActo containsHeaders(response.headers, Some(Set("GET"))) } - it should "respond to OPTIONS for namespaces getEntities" in { - val path = basePath / "namespaces" / "barfoo" - val response = request(OPTIONS, url.withPath(path)).futureValue - - response.status shouldBe OK - containsHeaders(response.headers, Some(Set("GET"))) - } - - it should "respond to GET for namespaces getEntities with Headers" in { - val path = basePath / "namespaces" / "_" - val response = request(GET, url.withPath(path), Some(List(Authorization(creds)))).futureValue - - response.status shouldBe OK - containsHeaders(response.headers) - } - // Packages it should "respond to OPTIONS for listing packages" in { val path = basePath / "namespaces" / "barfoo" / "packages" diff --git a/tests/src/test/scala/whisk/core/cli/test/WskBasicUsageTests.scala b/tests/src/test/scala/whisk/core/cli/test/WskBasicUsageTests.scala index 265b22fec7b..9c93c293359 100644 --- a/tests/src/test/scala/whisk/core/cli/test/WskBasicUsageTests.scala +++ b/tests/src/test/scala/whisk/core/cli/test/WskBasicUsageTests.scala @@ -117,7 +117,7 @@ class WskBasicUsageTests extends TestHelpers with WskTestHelpers { } it should "include CLI user agent headers with outbound requests" in { - val stdout = wsk.cli(Seq("list", "--auth", wskprops.authKey) ++ wskprops.overrides, verbose = true).stdout + val stdout = wsk.cli(Seq("action", "list", "--auth", wskprops.authKey) ++ wskprops.overrides, verbose = true).stdout stdout should include regex (usrAgentHeaderRegEx) }