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 committed Jun 26, 2017
1 parent 866d39d commit fc0b1a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// We only can count up. The 4. digit is only for the internal patchlevel to trigger DB upgrades
// between betas, final and RCs. This is _not_ the public version number. Reset minor/patchlevel
// when updating major/minor version number.
$OC_Version = [10, 0, 2, 1];
$OC_Version = [10, 0, 2, 3];

// The human readable string
$OC_VersionString = '10.0.2';
Expand Down

0 comments on commit fc0b1a6

Please sign in to comment.