test improvements and preparation for more tests later

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2019-06-10 11:38:47 +02:00
parent 1ac304e5ac
commit 028524291e
3 changed files with 9 additions and 3 deletions

View File

@@ -119,7 +119,7 @@ class DomainsTest extends TestCase
'customerid' => 1
];
$this->expectExceptionMessage('The server-hostname cannot be used as customer-domain.');
$json_result = Domains::getLocal($admin_userdata, $data)->add();
Domains::getLocal($admin_userdata, $data)->add();
}
public function testAdminDomainsAddNoPunycode()