You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2022/01/07 13:48:23 UTC

[camel-k] 17/24: feat(e2e): openapi configmap

This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 053c5a5ac6700a510e891ccab85d29a3a410f6eb
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Dec 9 11:23:58 2021 +0100

    feat(e2e): openapi configmap
---
 e2e/common/traits/openapi_test.go | 2 +-
 e2e/knative/openapi_test.go       | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/e2e/common/traits/openapi_test.go b/e2e/common/traits/openapi_test.go
index 7318ec7..4b848bf 100644
--- a/e2e/common/traits/openapi_test.go
+++ b/e2e/common/traits/openapi_test.go
@@ -20,7 +20,7 @@ See the License for the specific language governing permissions and
 limitations under the License.
 */
 
-package knative
+package traits
 
 import (
 	"io/ioutil"
diff --git a/e2e/knative/openapi_test.go b/e2e/knative/openapi_test.go
index 66d71cc..344b52a 100644
--- a/e2e/knative/openapi_test.go
+++ b/e2e/knative/openapi_test.go
@@ -40,7 +40,7 @@ func TestOpenAPIService(t *testing.T) {
 			"run",
 			"-n", ns,
 			"--name", "petstore",
-			"--open-api", "files/petstore-api.yaml",
+			"--open-api", "file:files/petstore-api.yaml",
 			"files/petstore.groovy",
 		).Execute()).To(Succeed())
 
@@ -65,7 +65,7 @@ func TestOpenAPIDeployment(t *testing.T) {
 			"run",
 			"-n", ns,
 			"--name", "petstore",
-			"--open-api", "files/petstore-api.yaml",
+			"--open-api", "file:files/petstore-api.yaml",
 			"files/petstore.groovy",
 		).Execute()).To(Succeed())