From 7bdc57b9c4e08961546d5aa119c68d1b76c9a811 Mon Sep 17 00:00:00 2001 From: Vance Lucas Date: Thu, 6 Aug 2015 18:47:39 -0500 Subject: [PATCH] Fix failing urlActive test due to checkdnsrr --- tests/Valitron/ValidateTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Valitron/ValidateTest.php b/tests/Valitron/ValidateTest.php index f8d3c06..52a244f 100644 --- a/tests/Valitron/ValidateTest.php +++ b/tests/Valitron/ValidateTest.php @@ -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()); }