optimized CustomersTest and DomainsTest; minor fixes in SubDomains-ApiCommand; added more tests for SubDomains-Command
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -116,7 +116,7 @@ class DomainsTest extends TestCase
|
||||
'customerid' => 1
|
||||
];
|
||||
$this->expectExceptionMessage('You must not specify punycode (IDNA). The domain will automatically be converted');
|
||||
$json_result = Domains::getLocal($admin_userdata, $data)->add();
|
||||
Domains::getLocal($admin_userdata, $data)->add();
|
||||
}
|
||||
|
||||
public function testAdminDomainsAddInvalidDomain()
|
||||
@@ -127,7 +127,7 @@ class DomainsTest extends TestCase
|
||||
'customerid' => 1
|
||||
];
|
||||
$this->expectExceptionMessage("Wrong Input in Field 'Domain'");
|
||||
$json_result = Domains::getLocal($admin_userdata, $data)->add();
|
||||
Domains::getLocal($admin_userdata, $data)->add();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user