Skip to content

Commit bdbc862

Browse files
committed
Travis test
1 parent 51fee91 commit bdbc862

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/test/java/services/moleculer/httpclient/HttpClientTest.java

+6-2
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,18 @@
3030

3131
public class HttpClientTest extends TestCase {
3232

33+
HttpClient c = new HttpClient();
34+
3335
@Override
3436
protected void setUp() throws Exception {
35-
37+
c.init();
3638
}
3739

3840
@Override
3941
protected void tearDown() throws Exception {
40-
42+
if (c != null) {
43+
c.destroy();
44+
}
4145
}
4246

4347
// ---------------- TESTS ----------------

0 commit comments

Comments
 (0)