Skip to content

Commit 53a9d09

Browse files
committed
Cleanup ParsePushBroadcastReceiver tests
1 parent e350313 commit 53a9d09

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

parse/src/test/java/com/parse/ParsePushBroadcastReceiverTest.java

+9
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import java.util.HashMap;
1414
import java.util.Map;
1515
import org.json.JSONObject;
16+
import org.junit.After;
1617
import org.junit.Before;
1718
import org.junit.Test;
1819
import org.junit.runner.RunWith;
@@ -38,6 +39,14 @@ public void setUp() throws Exception {
3839
Parse.initialize(configuration, plugins);
3940
}
4041

42+
@After
43+
public void tearDown() throws Exception {
44+
super.tearDown();
45+
ParseCorePlugins.getInstance().reset();
46+
ParsePlugins.reset();
47+
Parse.destroy();
48+
}
49+
4150
@Test
4251
public void testBuildNotification() {
4352
final ParsePushBroadcastReceiver broadcastReceiver = new ParsePushBroadcastReceiver();

0 commit comments

Comments
 (0)