Skip to content

Commit 70b7015

Browse files
nickygerritsenvmcj
authored andcommitted
Fix user invalid IP test that suddenly broke
1 parent 450ec5d commit 70b7015

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

webapp/tests/Unit/Controller/Jury/UserControllerTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ class UserControllerTest extends JuryControllerTestCase
8484
['username' => 'usérname', 'name' => 'NonPrintable'],
8585
['username' => 'username⚠', 'name' => 'SpecialSymbol']],
8686
'This value should not be blank.' => [['username' => '', 'name' => 'Empty']],
87-
'This is not a valid IP address.' => [['ipAddress' => '1.1.1'],
88-
['ipAddress' => '256.1.1.1'],
89-
['ipAddress' => '1.1.1.256'],
90-
['ipAddress' => '1.1.1.1.1'],
91-
['ipAddress' => '::g']]];
87+
'This value is not a valid IP address.' => [['ipAddress' => '1.1.1'],
88+
['ipAddress' => '256.1.1.1'],
89+
['ipAddress' => '1.1.1.256'],
90+
['ipAddress' => '1.1.1.1.1'],
91+
['ipAddress' => '::g']]];
9292
}

0 commit comments

Comments
 (0)