From 051e8829d830bd615d1fc946ce41a45cdf0d7d24 Mon Sep 17 00:00:00 2001 From: Russ Poetker Date: Mon, 23 Oct 2023 17:46:42 -0400 Subject: [PATCH] Fix test --- .../org/eclipse/pass/deposit/service/FailedDepositRetryTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/pass-deposit-services/deposit-core/src/test/java/org/eclipse/pass/deposit/service/FailedDepositRetryTest.java b/pass-deposit-services/deposit-core/src/test/java/org/eclipse/pass/deposit/service/FailedDepositRetryTest.java index b77ed00a..a62fb8c8 100644 --- a/pass-deposit-services/deposit-core/src/test/java/org/eclipse/pass/deposit/service/FailedDepositRetryTest.java +++ b/pass-deposit-services/deposit-core/src/test/java/org/eclipse/pass/deposit/service/FailedDepositRetryTest.java @@ -64,6 +64,7 @@ void testRetryFailedDeposits_Success_WithMultipleFiles() throws IOException { Submission submission = new Submission(); deposit1.setSubmission(submission); when(passClient.getObject(same(deposit1), any())).thenReturn(deposit1); + when(passClient.getObject(same(submission), any())).thenReturn(submission); when(packagerRegistry.get(any())).thenReturn(packager); DepositSubmission depositSubmission = new DepositSubmission(); DepositFile depositFile1 = new DepositFile();