Skip to content

Commit 252855d

Browse files
authored
Cleanup upload preset from testGetUploadPreset (#129)
Fix `testGetUploadPreset()` (cleanup uploaded preset)
1 parent 2e0441e commit 252855d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,8 @@ public void testGetUploadPreset() throws Exception {
637637
assertArrayEquals(tags, outTags);
638638
Map outContext = (Map) settings.get("context");
639639
assertEquals(context, outContext);
640+
641+
api.deleteUploadPreset(name, ObjectUtils.emptyMap());
640642
}
641643

642644
@Test

0 commit comments

Comments
 (0)