fix Domains.update() if called as admin/reseller without change_serversettings privileges, thx to rseffner
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -246,7 +246,7 @@ class IpsAndPortsTest extends TestCase
|
||||
'ip' => '123.123.123.123'
|
||||
];
|
||||
$this->expectExceptionMessage("You cannot change the last system IP, either create another new IP/Port combination for the system IP or change the system IP.");
|
||||
$json_result = IpsAndPorts::getLocal($admin_userdata, $data)->update();
|
||||
IpsAndPorts::getLocal($admin_userdata, $data)->update();
|
||||
}
|
||||
|
||||
public function testResellerIpsAndPortsEditNoDuplicate()
|
||||
|
||||
Reference in New Issue
Block a user