From 03c115238fcb4c5723a84c46f8f041da32346a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Brychta?= Date: Tue, 1 Oct 2024 17:20:20 +0100 Subject: [PATCH] Fixed failing replicator test --- .../bag_replicator/replicator/ReplicatorTestCases.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bag_replicator/src/test/scala/weco/storage_service/bag_replicator/replicator/ReplicatorTestCases.scala b/bag_replicator/src/test/scala/weco/storage_service/bag_replicator/replicator/ReplicatorTestCases.scala index cd427eb69..92aaa6792 100644 --- a/bag_replicator/src/test/scala/weco/storage_service/bag_replicator/replicator/ReplicatorTestCases.scala +++ b/bag_replicator/src/test/scala/weco/storage_service/bag_replicator/replicator/ReplicatorTestCases.scala @@ -312,7 +312,7 @@ trait ReplicatorTestCases[ val dstPrefix = createDstPrefixWith(dstNamespace) withPrefixTransfer { prefixTransfer => - val spyTransfer = spy(prefixTransfer) + val spyTransfer = spy[PrefixTransferImpl](prefixTransfer) withReplicator(spyTransfer) { _.replicate(