Compare commits

...

1 Commits

View File

@ -66,26 +66,47 @@ class HsHostingAssetControllerAcceptanceTest extends ContextBasedTestWithCleanup
.contentType("application/json") .contentType("application/json")
.body("", lenientlyEquals(""" .body("", lenientlyEquals("""
[ [
{
"type": "MANAGED_SERVER",
"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", "type": "MANAGED_WEBSPACE",
"identifier": "aaa01",
"caption": "some Webspace", "caption": "some Webspace",
"config": { "config": {
"HDD": 2048, "HDD": 2048,
"RAM": 1, "RAM": 1,
"SDD": 512, "SDD": 512,
"extra": 42 "extra": 42
}
}, },
{ "with": [
"type": "MANAGED_SERVER", "type": "UNIX_USER",
"identifier": "vm1011", "caption": "Website",
"caption": "some ManagedServer",
"config": { "config": {
"CPU": 2,
"SDD": 512,
"extra": 42
} }
]
}
]
}, },
{ {
"type": "CLOUD_SERVER", "type": "CLOUD_SERVER",