From 14a5e85368c7527406de539d4731a5271ab28e99 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Wed, 15 Jan 2025 09:07:54 +0100 Subject: [PATCH] add missing HsOfficeMembershipRepository mock --- .../HsOfficeCoopSharesTransactionControllerRestTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/coopshares/HsOfficeCoopSharesTransactionControllerRestTest.java b/src/test/java/net/hostsharing/hsadminng/hs/office/coopshares/HsOfficeCoopSharesTransactionControllerRestTest.java index c207960f..60221df4 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/coopshares/HsOfficeCoopSharesTransactionControllerRestTest.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/coopshares/HsOfficeCoopSharesTransactionControllerRestTest.java @@ -1,6 +1,7 @@ package net.hostsharing.hsadminng.hs.office.coopshares; import net.hostsharing.hsadminng.context.Context; +import net.hostsharing.hsadminng.hs.office.membership.HsOfficeMembershipRepository; import net.hostsharing.hsadminng.mapper.StrictMapper; import net.hostsharing.hsadminng.rbac.test.JsonBuilder; import net.hostsharing.hsadminng.config.DisableSecurityConfig; @@ -41,6 +42,9 @@ class HsOfficeCoopSharesTransactionControllerRestTest { @MockitoBean HsOfficeCoopSharesTransactionRepository coopSharesTransactionRepo; + @MockitoBean + HsOfficeMembershipRepository membershipRepo; + static final String VALID_INSERT_REQUEST_BODY = """ { "membership.uuid": "%s",