forward porting fix for non-unique separator strings, ~~~, #8543
This commit is contained in:
parent
9eff3a4b77
commit
13eb87ffe5
13 changed files with 54 additions and 27 deletions
|
|
@ -148,7 +148,7 @@ $canViewMaker->prepare(
|
|||
},
|
||||
);
|
||||
|
||||
plan tests => 100
|
||||
plan tests => 103
|
||||
+ scalar(@fixIdTests)
|
||||
+ scalar(@fixTitleTests)
|
||||
+ 2*scalar(@getTitleTests) #same tests used for getTitle and getMenuTitle
|
||||
|
|
@ -678,6 +678,15 @@ $session->setting->set('notFoundPage', $origNotFoundPage);
|
|||
################################################################
|
||||
is($rootAsset->get('isExportable'), 1, 'isExportable exists, defaults to 1');
|
||||
|
||||
################################################################
|
||||
#
|
||||
# getSeparator
|
||||
#
|
||||
################################################################
|
||||
is($rootAsset->getSeparator, '~~~PBasset000000000000001~~~', 'getSeparator, known assetId');
|
||||
is($rootAsset->getSeparator('!'), '!!!PBasset000000000000001!!!', 'getSeparator, given pad character');
|
||||
isnt($rootAsset->getSeparator, $mediaFolder->getSeparator, 'getSeparator: unique string');
|
||||
|
||||
################################################################
|
||||
#
|
||||
# get
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue