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 9209bc5 commit b669e55Copy full SHA for b669e55
Tests/Constraints/EmailValidatorTest.php
@@ -159,10 +159,4 @@ public function testHostnameIsProperlyParsed()
159
160
$this->assertNoViolation();
161
}
162
-
163
- public function testEmptyHostReturnsFalse()
164
- {
165
- $this->assertFalse($this->validator->checkMX(''));
166
- $this->assertFalse($this->validator->checkHost(''));
167
- }
168
Tests/Constraints/UrlValidatorTest.php
@@ -171,7 +171,7 @@ public function getInvalidUrls()
171
array('http://example.com/exploit.html?<script>alert(1);</script>'),
172
array('http://example.com/exploit.html?hel lo'),
173
array('http://example.com/exploit.html?not_a%hex'),
174
- array('http:/.com'),
+ array('http://'),
175
);
176
177
0 commit comments