OfficeScenarioTests CoopShares+Assets #121
@ -41,7 +41,6 @@ public class HsOfficeMembershipController implements HsOfficeMembershipsApi {
|
|||||||
context.define(currentSubject, assumedRoles);
|
context.define(currentSubject, assumedRoles);
|
||||||
|
|
||||||
final var entities = ( memberNumber != null)
|
final var entities = ( memberNumber != null)
|
||||||
// FIXME: RestTest for the case that findMembershipByMemberNumber returns null
|
|
||||||
? ofNullable(membershipRepo.findMembershipByMemberNumber(memberNumber)).stream().toList()
|
? ofNullable(membershipRepo.findMembershipByMemberNumber(memberNumber)).stream().toList()
|
||||||
: membershipRepo.findMembershipsByOptionalPartnerUuid(partnerUuid);
|
: membershipRepo.findMembershipsByOptionalPartnerUuid(partnerUuid);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user