Skip to content

Commit 73a669e

Browse files
committed
add CG cleanup to UnsubscribeTest
1 parent 9d4cb09 commit 73a669e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

java/srcTest/com/pubnub/api/UnsubscribeTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import org.json.JSONException;
55
import org.json.JSONObject;
66
import org.junit.Before;
7+
import org.junit.BeforeClass;
78
import org.junit.Rule;
89
import org.junit.Test;
910
import org.junit.rules.ExpectedException;
@@ -27,6 +28,11 @@ public class UnsubscribeTest {
2728
@Rule
2829
public ExpectedException thrown = ExpectedException.none();
2930

31+
@BeforeClass
32+
public static void cleanup() throws JSONException, InterruptedException {
33+
TestHelper.cleanup();
34+
}
35+
3036
@Before
3137
public void setUp() {
3238
pubnub = new Pubnub("demo", "demo");

0 commit comments

Comments
 (0)