Skip to content

Commit a0b351c

Browse files
committed
Remove test that no longer applies
1 parent 5b16e3b commit a0b351c

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

Parse/src/test/java/com/parse/ParseCloudCodeControllerTest.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import org.json.JSONArray;
1212
import org.json.JSONObject;
1313
import org.junit.Test;
14-
import org.skyscreamer.jsonassert.JSONCompareMode;
1514

1615
import java.io.ByteArrayInputStream;
1716
import java.io.IOException;
@@ -31,7 +30,6 @@
3130
import static org.mockito.Mockito.times;
3231
import static org.mockito.Mockito.verify;
3332
import static org.mockito.Mockito.when;
34-
import static org.skyscreamer.jsonassert.JSONAssert.assertEquals;
3533

3634
public class ParseCloudCodeControllerTest {
3735

@@ -59,21 +57,6 @@ public void testConvertCloudResponseNullResponse() throws Exception {
5957
assertNull(result);
6058
}
6159

62-
@Test
63-
public void testConvertCloudResponseJsonResponseWithoutResultField() throws Exception {
64-
ParseHttpClient restClient = mock(ParseHttpClient.class);
65-
ParseCloudCodeController controller = new ParseCloudCodeController(restClient);
66-
JSONObject response = new JSONObject();
67-
response.put("foo", "bar");
68-
response.put("yarr", 1);
69-
70-
Object result = controller.convertCloudResponse(response);
71-
72-
assertThat(result, instanceOf(JSONObject.class));
73-
JSONObject jsonResult = (JSONObject)result;
74-
assertEquals(response, jsonResult, JSONCompareMode.NON_EXTENSIBLE);
75-
}
76-
7760
@Test
7861
public void testConvertCloudResponseJsonResponseWithResultField() throws Exception {
7962
ParseHttpClient restClient = mock(ParseHttpClient.class);

0 commit comments

Comments
 (0)