We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1971754 commit dfa154fCopy full SHA for dfa154f
1 file changed
pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/Tests/APIModelsPortForwardTestCase.inc
@@ -265,7 +265,7 @@ class APIModelsPortForwardTestCase extends TestCase {
265
# Check each disallowed value and ensure it throws an exception during validation
266
foreach ($disallowed_values as $value) {
267
$this->assert_throws(
268
- exceptions: ['ValidationError'],
+ exceptions: ['RESTAPI\Responses\ValidationError'],
269
callable: function () use ($value) {
270
$port_forward = new PortForward(
271
data: [
0 commit comments