Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
issue-3719: removed any from location in test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
saksham2105 committed Sep 7, 2023
1 parent 13a689d commit 1735708
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.junit.Test;

import com.netflix.conductor.common.run.ExternalStorageLocation;
import com.netflix.conductor.common.utils.ExternalPayloadStorage;

import com.fasterxml.jackson.databind.ObjectMapper;

Expand All @@ -33,7 +34,6 @@
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.ArgumentMatchers.any;

public class DummyPayloadStorageTest {

Expand All @@ -52,7 +52,10 @@ public void setup() {
dummyPayloadStorage = new DummyPayloadStorage();
objectMapper = new ObjectMapper();
location =
dummyPayloadStorage.getLocation(any(), PayloadType.TASK_OUTPUT, TEST_STORAGE_PATH);
dummyPayloadStorage.getLocation(
ExternalPayloadStorage.Operation.WRITE,
PayloadType.TASK_OUTPUT,
TEST_STORAGE_PATH);
try {
byte[] payloadBytes = MOCK_PAYLOAD.getBytes("UTF-8");
dummyPayloadStorage.upload(
Expand Down

0 comments on commit 1735708

Please sign in to comment.