Skip to content

Commit e4f9dfe

Browse files
committed
Remove test02Resources test (broken and unnecessary).
1 parent 0907886 commit e4f9dfe

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

cloudinary-test-common/src/main/java/com/cloudinary/test/AbstractApiTest.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -150,21 +150,6 @@ public void test01ResourceTypes() throws Exception {
150150
assertThat(resource_types, hasItem("image"));
151151
}
152152

153-
@Test
154-
public void test02Resources() throws Exception {
155-
// should allow listing resources
156-
Map resource = preloadResource(ObjectUtils.asMap("tags", UPLOAD_TAGS));
157-
158-
final List<Map> resources = new ArrayList<Map>();
159-
String next_cursor = null;
160-
do {
161-
Map result = api.resources(ObjectUtils.asMap("max_results", 500, "next_cursor", next_cursor));
162-
resources.addAll((List) result.get("resources"));
163-
next_cursor = (String) result.get("next_cursor");
164-
} while (next_cursor != null);
165-
assertThat(resources, hasItem(allOf(hasEntry("public_id", (String) resource.get("public_id")), hasEntry("type", "upload"))));
166-
}
167-
168153
@Test
169154
public void test03ResourcesCursor() throws Exception {
170155
// should allow listing resources with cursor

0 commit comments

Comments
 (0)