Skip to content

Commit

Permalink
Regression
Browse files Browse the repository at this point in the history
  • Loading branch information
plyhun committed Oct 23, 2024
1 parent 264b58a commit 0fa7690
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.codehaus.jettison.json.JSONObject;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;

import com.gentics.mesh.core.data.binary.HibBinary;
import com.gentics.mesh.core.data.storage.BinaryStorage;
Expand Down Expand Up @@ -81,7 +82,7 @@ public void testResize() throws Exception {

HibBinary hb = createMockedBinary(path);
try {
when(mockedBinaryStorage.openBlockingStream(null)).then(uuid -> ImageTestUtil.class.getResourceAsStream(path));
when(mockedBinaryStorage.openBlockingStream(Mockito.any())).then(uuid -> ImageTestUtil.class.getResourceAsStream(path));
} catch (IOException e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit 0fa7690

Please sign in to comment.