unify customerid/loginname api-parameter-descriptions; fixes #883

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2020-10-05 19:59:02 +02:00
parent 244d2823a6
commit a5dc7b93a2
11 changed files with 67 additions and 50 deletions

View File

@@ -282,7 +282,7 @@ class DomainsTest extends TestCase
'customerid' => $customer_userdata['customerid'] + 1
];
Settings::Set('panel.allow_domain_change_customer', 1);
$this->expectExceptionMessage("The customer you have chosen doesn't exist.");
$this->expectExceptionMessage("Customer with id #2 could not be found");
Domains::getLocal($admin_userdata, $data)->update();
}