Skip to content

Commit

Permalink
Fix user invalid IP test that suddenly broke
Browse files Browse the repository at this point in the history
  • Loading branch information
nickygerritsen committed Dec 17, 2024
1 parent a103327 commit 5c7c649
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions webapp/tests/Unit/Controller/Jury/UserControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ class UserControllerTest extends JuryControllerTestCase
['username' => 'usérname', 'name' => 'NonPrintable'],
['username' => 'username⚠', 'name' => 'SpecialSymbol']],
'This value should not be blank.' => [['username' => '', 'name' => 'Empty']],
'This is not a valid IP address.' => [['ipAddress' => '1.1.1'],
['ipAddress' => '256.1.1.1'],
['ipAddress' => '1.1.1.256'],
['ipAddress' => '1.1.1.1.1'],
['ipAddress' => '::g']]];
'This value is not a valid IP address.' => [['ipAddress' => '1.1.1'],
['ipAddress' => '256.1.1.1'],
['ipAddress' => '1.1.1.256'],
['ipAddress' => '1.1.1.1.1'],
['ipAddress' => '::g']]];
}

0 comments on commit 5c7c649

Please sign in to comment.