Skip to content

Commit

Permalink
Correct 'minLength' to 'length' for PSCID generation (#5226)
Browse files Browse the repository at this point in the history
Fix places that minLength->length was overlooked in #4241.
  • Loading branch information
johnsaigle authored and driusan committed Sep 18, 2019
1 parent 86e7fb9 commit d417b00
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/config/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<generation>sequential</generation>
<structure>
<seq type="siteAbbrev"/>
<seq type="alphanumeric" minLength="4"/> <!-- Ex: AAA1-->
<seq type="alphanumeric" length="4"/> <!-- Ex: AAA0001-->
</structure>
</PSCID>

Expand Down
2 changes: 1 addition & 1 deletion test/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<generation>sequential</generation>
<structure>
<seq type="siteAbbrev"/>
<seq type="alphanumeric" minLength="4"/> <!-- Ex: AAA1-->
<seq type="alphanumeric" length="4"/> <!-- Ex: AAA0001-->
</structure>
</PSCID>

Expand Down
2 changes: 1 addition & 1 deletion test/unittests/CandidateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ public function testValidatePSCID()
'#' => '',
'@' => array(
'type' => 'numeric',
'minLength' => '4',
'length' => '4',
),
),
),
Expand Down

0 comments on commit d417b00

Please sign in to comment.