[DMAAP-BC] Fix failing jenkins
[dmaap/buscontroller.git] / dmaap-bc / src / test / java / org / onap / dmaap / dbcapi / authentication / ApiPermsTest.java
index ea749ce..0c905fe 100644 (file)
@@ -25,13 +25,17 @@ import static org.junit.Assert.assertTrue;
 import javax.ws.rs.core.Application;
 import org.glassfish.jersey.server.ResourceConfig;
 import org.glassfish.jersey.test.JerseyTest;
+import org.junit.Before;
 import org.junit.Test;
 
-import org.onap.dmaap.dbcapi.authentication.ApiPerms;
-
 
 public class ApiPermsTest extends JerseyTest {
 
+       @Before
+       public void setUp() throws Exception {
+               System.setProperty("ConfigFile", "src/test/resources/dmaapbc.properties");
+       }
+
        @Override
        protected Application configure() {
                return new ResourceConfig()