From 87e23b935546a29f0dccd2d37e7982f6382cced8 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Fri, 29 Nov 2024 11:51:41 +0100 Subject: [PATCH] fix office scenario tests - but implicitly produced aliases are not properly checked yet --- .../hsadminng/hs/office/scenarios/HsOfficeScenarioTests.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/HsOfficeScenarioTests.java b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/HsOfficeScenarioTests.java index 52a45ad4..0b95bdaf 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/HsOfficeScenarioTests.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/office/scenarios/HsOfficeScenarioTests.java @@ -58,7 +58,6 @@ import org.springframework.boot.test.context.SpringBootTest; "hsadminng.superuser=${HSADMINNG_SUPERUSER:superuser-alex@hostsharing.net}" } ) -//@DirtiesContext @TestClassOrder(ClassOrderer.OrderAnnotation.class) @ExtendWith(IgnoreOnFailureExtension.class) class HsOfficeScenarioTests extends ScenarioTest { @@ -484,7 +483,7 @@ class HsOfficeScenarioTests extends ScenarioTest { @Test @Order(4304) @Requires("Coop-Assets M-3101000 - Test AG - DEPOSIT Transaction") - @Produces(explicitly = "Coop-Assets M-3101000 - Test AG - TRANSFER Transaction", implicitly = "Membership M-4303000") + @Produces(explicitly = "Coop-Assets M-3101000 - Test AG - TRANSFER Transaction", implicitly = "Membership M-4303000 - New AG") void shouldTransferCoopAssets() { new CreateCoopAssetsTransferTransaction(scenarioTest) .given("transferringMemberNumber", "M-3101000") @@ -498,7 +497,7 @@ class HsOfficeScenarioTests extends ScenarioTest { @Test @Order(4305) - @Requires("Membership M-4303000") + @Requires("Coop-Assets M-3101000 - Test AG - TRANSFER Transaction") void shouldRevertCoopAssetsTransferIncludingRelatedAssetAdoption() { new CreateCoopAssetsRevertTransferTransaction(scenarioTest) .given("transferringMemberNumber", "M-3101000")