From c3f3efaf18fd82d21a6d450e8b565eb63d09c485 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Wed, 13 Nov 2024 14:56:54 +0100 Subject: [PATCH] add RestTest for findMembershipByNonExistingMemberNumberReturnsEmptyList --- .../hs/office/membership/HsOfficeMembershipController.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipController.java b/src/main/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipController.java index 12c373da..62dcd1c2 100644 --- a/src/main/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipController.java +++ b/src/main/java/net/hostsharing/hsadminng/hs/office/membership/HsOfficeMembershipController.java @@ -41,7 +41,6 @@ public class HsOfficeMembershipController implements HsOfficeMembershipsApi { context.define(currentSubject, assumedRoles); final var entities = ( memberNumber != null) - // FIXME: RestTest for the case that findMembershipByMemberNumber returns null ? ofNullable(membershipRepo.findMembershipByMemberNumber(memberNumber)).stream().toList() : membershipRepo.findMembershipsByOptionalPartnerUuid(partnerUuid);