Fix AAF Locator for ONAP
[aaf/authz.git] / cadi / aaf / src / test / java / org / onap / aaf / cadi / oauth / test / JU_TzHClient.java
index 7febf51..bd2393e 100644 (file)
@@ -85,7 +85,12 @@ public class JU_TzHClient {
 
        @Test
        public void test() throws CadiException, LocatorException, APIException, IOException {
-               TzHClient client = new TzHClient(access, "tag");
+               TzHClient client;
+               try {
+                       client = new TzHClient(access, "tag");
+               } catch (Exception e) {
+                       throw e;
+               }
                try {
                        client.best(retryableMock);
                        fail("Should've thrown an exception");