dont need $result if we're expecting an exception

This commit is contained in:
Pascal
2019-10-28 16:40:22 +01:00
parent 9c4d619840
commit d76f4108e5

View File

@@ -90,7 +90,7 @@ class ValidateTest extends TestCase
{
$this->expectException("Exception");
$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()