mirror of
https://github.com/Froxlor/Froxlor.git
synced 2024-09-21 02:17:34 +00:00
set correct expected return-code from exception in unit-test
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
parent
b7264cdc5d
commit
fede81700e
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user