From 66dcfd37b5a9debd8e33e71c699a0fdd2f2f595c Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sun, 7 Aug 2016 02:51:44 +0200 Subject: [PATCH] fix: Be more obvious to the compiler that this is a dead end Change-Id: I8964e2984aab8f927c6473e2e3871d26c6020e4d --- tests/org/cacert/gigi/ping/TestHTTP.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/org/cacert/gigi/ping/TestHTTP.java b/tests/org/cacert/gigi/ping/TestHTTP.java index 18dff385..8a65e2ee 100644 --- a/tests/org/cacert/gigi/ping/TestHTTP.java +++ b/tests/org/cacert/gigi/ping/TestHTTP.java @@ -98,6 +98,7 @@ public class TestHTTP extends PingTest { } if (dpc == null) { fail("Http config not found"); + return; } String res = executeBasicWebInteraction(cookie, p2, "configId=" + dpc.getId()); assertThat(res, containsString("only allowed after")); -- 2.39.2