Skip to content

Commit

Permalink
solve remaining problem with PickingHUsRepositoryTests
Browse files Browse the repository at this point in the history
518: Picking prototype (v6) 

Task-Url: #518
  • Loading branch information
metas-ts committed Jul 24, 2017
1 parent 47ae132 commit 1ddb59a
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,12 @@ public void testRetrieveHUsIndexedByPickingSlotId(@NonNull final String pickingC
.setTopLevel(true)
.build();

// @formatter:off
new Expectations() {{ huEditorViewRepository.retrieveHUEditorRows(ImmutableSet.of(M_HU_ID)); result = huEditorRow; }};
// @formatter:on
if(!X_M_Picking_Candidate.STATUS_CL.equals(pickingCandidateStatus))
{
// @formatter:off
new Expectations() {{ huEditorViewRepository.retrieveHUEditorRows(ImmutableSet.of(M_HU_ID)); result = huEditorRow; }};
// @formatter:on
}

final PickingHUsRepository pickingHUsRepository = new PickingHUsRepository(huEditorViewRepository);
final ListMultimap<Integer, PickingSlotHUEditorRow> result = pickingHUsRepository.retrieveHUsIndexedByPickingSlotId(PickingSlotRepoQuery.of(M_SHIPMENT_SCHEDULE_ID));
Expand Down

0 comments on commit 1ddb59a

Please sign in to comment.