diff --git a/src/test/java/net/hostsharing/hsadminng/hs/hosting/asset/HsHostingAssetControllerAcceptanceTest.java b/src/test/java/net/hostsharing/hsadminng/hs/hosting/asset/HsHostingAssetControllerAcceptanceTest.java index 26d1b763..cf7112db 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/hosting/asset/HsHostingAssetControllerAcceptanceTest.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/hosting/asset/HsHostingAssetControllerAcceptanceTest.java @@ -66,26 +66,47 @@ class HsHostingAssetControllerAcceptanceTest extends ContextBasedTestWithCleanup .contentType("application/json") .body("", lenientlyEquals(""" [ - { - "type": "MANAGED_WEBSPACE", - "identifier": "aaa01", - "caption": "some Webspace", - "config": { - "HDD": 2048, - "RAM": 1, - "SDD": 512, - "extra": 42 - } - }, { "type": "MANAGED_SERVER", - "identifier": "vm1011", "caption": "some ManagedServer", "config": { "CPU": 2, "SDD": 512, "extra": 42 - } + }, + "with": [ + { + "type": "DNS-Setup", + "domain": "example.org", + ... + }, + { + "type": "EMail-Setup", + "domain": "example.org", + ... + }, + { + "type": "HTTP-Setup", + "domain": "example.org", + ... + }, + { + "type": "MANAGED_WEBSPACE", + "caption": "some Webspace", + "config": { + "HDD": 2048, + "RAM": 1, + "SDD": 512, + "extra": 42 + }, + "with": [ + "type": "UNIX_USER", + "caption": "Website", + "config": { + } + ] + } + ] }, { "type": "CLOUD_SERVER",