Skip to content

Commit 52dc34f

Browse files
author
Amir Tocker
committed
fix face_coordinates test
1 parent 99e73d2 commit 52dc34f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ public void testAllowedFormatsWithFormat() throws Exception {
272272
public void testFaceCoordinates() throws Exception {
273273
//should allow sending face coordinates
274274
Coordinates coordinates = new Coordinates();
275-
Rectangle rect1 = new Rectangle(121, 31, 110, 151);
276-
Rectangle rect2 = new Rectangle(120, 30, 109, 150);
275+
Rectangle rect1 = new Rectangle(121, 31, 110, 51);
276+
Rectangle rect2 = new Rectangle(120, 30, 109, 51);
277277
coordinates.addRect(rect1);
278278
coordinates.addRect(rect2);
279279
Map result = cloudinary.uploader().upload(SRC_TEST_IMAGE, asMap("face_coordinates", coordinates, "faces", true, "tags", SDK_TEST_TAG));

0 commit comments

Comments
 (0)