From 9ea228915b0ca5e918db0d6d5523496bd4d56f03 Mon Sep 17 00:00:00 2001 From: Andrea Tarocchi Date: Tue, 11 Dec 2018 23:46:37 +0100 Subject: [PATCH] Fix broken itests. --- pom.xml | 6 ++++++ .../com/redhat/fuse/boosters/rest/http/HttpRequestKT.java | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index fefb677..9775cc8 100644 --- a/pom.xml +++ b/pom.xml @@ -22,6 +22,7 @@ 1.17.1 1.4.0.Final + 4.0.7 @@ -137,6 +138,11 @@ ${arquillian.version} test + + io.fabric8 + openshift-client + ${openshift-client.version} + diff --git a/src/test/java/com/redhat/fuse/boosters/rest/http/HttpRequestKT.java b/src/test/java/com/redhat/fuse/boosters/rest/http/HttpRequestKT.java index 0bcf11c..d94d41b 100644 --- a/src/test/java/com/redhat/fuse/boosters/rest/http/HttpRequestKT.java +++ b/src/test/java/com/redhat/fuse/boosters/rest/http/HttpRequestKT.java @@ -16,8 +16,9 @@ package com.redhat.fuse.boosters.rest.http; -import io.fabric8.kubernetes.api.model.v4_0.HasMetadata; -import io.fabric8.openshift.clnt.v4_0.OpenShiftClient; + +import io.fabric8.kubernetes.api.model.HasMetadata; +import io.fabric8.openshift.client.OpenShiftClient; import org.jboss.arquillian.junit.Arquillian; import org.jboss.arquillian.test.api.ArquillianResource; import org.junit.Test; @@ -37,7 +38,7 @@ public class HttpRequestKT { OpenShiftClient client; @Test - public void templateTest() throws Exception { + public void templateTest() { File template = new File(".openshiftio/application.yaml"); assertTrue(template.exists()); HashMap templateParameters = new HashMap(){