diff --git a/tests/IpsAndPorts/IpsAndPortsTest.php b/tests/IpsAndPorts/IpsAndPortsTest.php index e3ce3c4a..263788e9 100644 --- a/tests/IpsAndPorts/IpsAndPortsTest.php +++ b/tests/IpsAndPorts/IpsAndPortsTest.php @@ -216,7 +216,7 @@ class IpsAndPortsTest extends TestCase 'id' => 1, 'listen_statement' => 0 ]; - $this->expectExceptionCode(405); + $this->expectExceptionCode(403); $this->expectExceptionMessage("Not allowed to execute given command."); IpsAndPorts::getLocal($reseller_userdata, $data)->update(); }