restore behaviour for unittests as 'create stdsubdomain' default was yes in the settings but no for direct API usage

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2021-07-21 10:10:18 +02:00
parent 25c6a37df2
commit 05d4bdc499

View File

@@ -513,7 +513,8 @@ class CustomersTest extends TestCase
'customernumber' => 1338,
'sendpassword' => 0,
'perlenabled' => 2,
'dnsenabled' => 4
'dnsenabled' => 4,
'createstdsubdomain' => 0
];
$json_result = Customers::getLocal($admin_userdata, $data)->add();