Skip to content

Commit

Permalink
Add test for truncating of user account search terms
Browse files Browse the repository at this point in the history
  • Loading branch information
tomneedham authored and DeepDiver1975 committed Jun 21, 2017
1 parent e5f6ee1 commit 5be3e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lib/User/UserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ public function testSettingAccountTerms(array $terms, array $expected) {
public function setTermsData() {
return [
'normal terms' => [['term1'], ['term1']],
'too long terms' => [['term1', str_repeat(".", 192)], ['term1']]
'too long terms' => [['term1', str_repeat(".", 192)], ['term1', str_repeat(".", 191)]]
];
}

Expand Down

0 comments on commit 5be3e92

Please sign in to comment.