Compare commits

...

1 Commits

View File

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