Skip to content

Commit 46af431

Browse files
nitzanjtocker
authored andcommitted
Add artistic filter test (#65)
1 parent 282d522 commit 46af431

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cloudinary-core/src/test/java/com/cloudinary/test/CloudinaryTest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,13 @@ public void testEffectWithParam() {
406406
assertEquals(DEFAULT_UPLOAD_PATH + "e_sepia:10/test", result);
407407
}
408408

409+
@Test
410+
public void testArtisticFilter(){
411+
Transformation transformation = new Transformation().effect("art", "incognito");
412+
String result = cloudinary.url().transformation(transformation).generate("test");
413+
assertEquals(DEFAULT_UPLOAD_PATH + "e_art:incognito/test", result);
414+
}
415+
409416
@Test
410417
public void testDensity() {
411418
// should support density

0 commit comments

Comments
 (0)