diff --git a/source/backend/tests/unit/api/Services/AcquisitionFileServiceTest.cs b/source/backend/tests/unit/api/Services/AcquisitionFileServiceTest.cs index 574980041c..10115ada6f 100644 --- a/source/backend/tests/unit/api/Services/AcquisitionFileServiceTest.cs +++ b/source/backend/tests/unit/api/Services/AcquisitionFileServiceTest.cs @@ -655,7 +655,7 @@ public void Update_Success_PropertyOfInterest_UserOverride() filePropertyRepository.Setup(x => x.GetPropertiesByAcquisitionFileId(It.IsAny())).Returns(acqFile.PimsPropertyAcquisitionFiles.ToList()); var propertyRepository = this._helper.GetService>(); - propertyRepository.Setup(x => x.TransferFileProperty(It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny())); + propertyRepository.Setup(x => x.TransferFileProperty(It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny())); var lookupRepository = this._helper.GetService>(); lookupRepository.Setup(x => x.GetAllRegions()).Returns(new List() { new PimsRegion() { Code = 4, RegionName = "Cannot determine" } }); @@ -677,7 +677,7 @@ public void Update_Success_PropertyOfInterest_UserOverride() // Assert repository.Verify(x => x.Update(It.IsAny()), Times.Once); - propertyRepository.Verify(x => x.TransferFileProperty(It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny()), Times.Once); + propertyRepository.Verify(x => x.TransferFileProperty(It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny()), Times.Once); } public static IEnumerable takesTestParameters = new List() { @@ -724,7 +724,7 @@ public void Update_Success_Transfer_MultipleTakes_Core(List takes, boo var captureProperty = new PimsProperty(); var propertyRepository = this._helper.GetService>(); - propertyRepository.Setup(x => x.TransferFileProperty(captureProperty, It.IsAny(), It.IsAny(), It.IsAny())); + propertyRepository.Setup(x => x.TransferFileProperty(captureProperty, It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny())); var takeRepository = this._helper.GetService>(); takeRepository.Setup(x => x.GetAllByPropertyAcquisitionFileId(It.IsAny())).Returns(takes); @@ -740,7 +740,7 @@ public void Update_Success_Transfer_MultipleTakes_Core(List takes, boo // Assert repository.Verify(x => x.Update(It.IsAny()), Times.Once); - propertyRepository.Verify(x => x.TransferFileProperty(It.IsAny(), isOwned, isPropertyOfInterest, It.IsAny()), Times.Once); + propertyRepository.Verify(x => x.TransferFileProperty(It.IsAny(), isOwned, isPropertyOfInterest, It.IsAny(), It.IsAny()), Times.Once); } [Fact]