File: update-ipvalidatortest-data-set-with-a-v

package info (click to toggle)
symfony 2.8.7%2Bdfsg-1.3%2Bdeb9u3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 39,888 kB
  • sloc: php: 225,095; xml: 4,083; sh: 475; ansic: 263; makefile: 127
file content (24 lines) | stat: -rw-r--r-- 1,066 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Jakub Zalas <jakub@zalas.pl>
Date: Tue, 13 Sep 2016 12:11:56 +0100
Subject: Update IpValidatorTest data set with a valid reserved IP

The validator uses PHP filter which was recently fixed (see https://bugs.php.net/bug.php?id=72972).

Origin: https://github.com/symfony/symfony/commit/86a151c9f57adc3cb3734aa7b74d5bf1462bf0ce
---
 src/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php b/src/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php
index 439d45c..bcb5f59 100644
--- a/src/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php
+++ b/src/Symfony/Component/Validator/Tests/Constraints/IpValidatorTest.php
@@ -221,7 +221,7 @@ class IpValidatorTest extends AbstractConstraintValidatorTest
     {
         return array(
             array('0.0.0.0'),
-            array('224.0.0.1'),
+            array('240.0.0.1'),
             array('255.255.255.255'),
         );
     }