dont need $result if we're expecting an exception
This commit is contained in:
@@ -90,7 +90,7 @@ class ValidateTest extends TestCase
|
|||||||
{
|
{
|
||||||
$this->expectException("Exception");
|
$this->expectException("Exception");
|
||||||
$this->expectExceptionCode(400);
|
$this->expectExceptionCode(400);
|
||||||
$result = Validate::validate_ip2("2620:0:2d0:200::7/32", false, 'invalidip', false, false, true, true);
|
Validate::validate_ip2("2620:0:2d0:200::7/32", false, 'invalidip', false, false, true, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testValidateIpLocalhostAllowed()
|
public function testValidateIpLocalhostAllowed()
|
||||||
|
|||||||
Reference in New Issue
Block a user