Browse Source

Remove incompatible PSR-7 tests

master
J. King 4 years ago
parent
commit
8fcdb8f7d6
  1. 4
      tests/cases/Util/Url/Psr7TestCase.php

4
tests/cases/Util/Url/Psr7TestCase.php

@ -413,15 +413,11 @@ abstract class Psr7TestCase extends TestCase {
public function withHostFailedProvider() {
return [
'dot in front' => ['.example.com'],
'hyphen suffix' => ['host.com-'],
'multiple dot' => ['.......'],
'one dot' => ['.'],
'empty label' => ['tot. .coucou.com'],
'space in the label' => ['re view'],
'underscore in label' => ['_bad.host.com'],
'label too long' => [implode('', array_fill(0, 12, 'banana')).'.secure.example.com'],
'too many labels' => [implode('.', array_fill(0, 128, 'a'))],
'Invalid IPv4 format' => ['[127.0.0.1]'],
'Invalid IPv6 format' => ['[[::1]]'],
'Invalid IPv6 format 2' => ['[::1'],

Loading…
Cancel
Save