mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-30 23:01:52 +00:00
Fix failing urlActive test due to checkdnsrr
This commit is contained in:
parent
81e1b52ff0
commit
7bdc57b9c4
@ -468,7 +468,7 @@ class ValidateTest extends BaseTestCase
|
||||
|
||||
public function testUrlInactive()
|
||||
{
|
||||
$v = new Validator(array('website' => 'http://sonotgoogleitsnotevenfunny.dev'));
|
||||
$v = new Validator(array('website' => 'http://example-test-domain-' . md5(time()) . '.com'));
|
||||
$v->rule('urlActive', 'website');
|
||||
$this->assertFalse($v->validate());
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user