test(pda): update historical photo paths

This commit is contained in:
2026-09-20 18:20:28 +08:00
parent 0fef9a8133
commit d8e368bf55
@@ -730,9 +730,9 @@ class ReceivingContainerServiceBehaviorTest {
.containsExactly("2092476334483931138", "2", "3");
org.assertj.core.api.Assertions.assertThat(response.photos()).extracting("downloadPath")
.containsExactly(
"/api/pda/v1/last-leg/receiving-containers/current/unload-photos/files/2092476334483931138/download",
"/api/pda/v1/last-leg/receiving-containers/current/unload-photos/files/2/download",
"/api/pda/v1/last-leg/receiving-containers/current/unload-photos/files/3/download");
"/api/pda/v1/last-leg/receiving-containers/CONT-A/unload-photos/files/2092476334483931138/download",
"/api/pda/v1/last-leg/receiving-containers/CONT-A/unload-photos/files/2/download",
"/api/pda/v1/last-leg/receiving-containers/CONT-A/unload-photos/files/3/download");
verify(unloadPhotos).validate("0", 8L, 2092476334483931138L);
verify(unloadPhotos).validate("0", 8L, 2L);
verify(unloadPhotos).validate("0", 8L, 3L);