final fixes for AssetExportHtml test
This commit is contained in:
parent
076694eff3
commit
75b39feb08
3 changed files with 28 additions and 19 deletions
|
|
@ -239,7 +239,7 @@ sub exportAsHtml {
|
|||
# and it must be a number.
|
||||
if( !looks_like_number($depth) ) {
|
||||
$returnCode = 0;
|
||||
$message = sprintf $i18n->get('%d is not a valid depth'), $depth;
|
||||
$message = sprintf $i18n->get('%s is not a valid depth'), $depth;
|
||||
return ($returnCode, $message);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1145,8 +1145,8 @@ Couldn't open %-s because %-s <br />
|
|||
context => q{Error message in exportAsHtml for an illegal parameter.},
|
||||
},
|
||||
|
||||
'%d is not a valid depth' => {
|
||||
message => q{%d is not a valid depth},
|
||||
'%s is not a valid depth' => {
|
||||
message => q{%s is not a valid depth},
|
||||
lastUpdated => 0,
|
||||
context => q{Error message in exportAsHtml for an illegal parameter.},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue