fix office scenario tests - but implicitly produced aliases are not properly checked yet

This commit is contained in:
Michael Hoennig 2024-11-29 11:51:41 +01:00
parent b0c26df632
commit 87e23b9355

View File

@ -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")