Do checks for keywords without order.
This commit is contained in:
parent
a7623ed20e
commit
fe181907e5
1 changed files with 2 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ my $snippet = $home->addChild({
|
|||
|
||||
my $assetIds = $keyword->getMatchingAssets({ keyword => 'webgui', });
|
||||
|
||||
cmp_deeply(
|
||||
cmp_bag(
|
||||
$assetIds,
|
||||
[ $snippet->getId, $home->getId, ],
|
||||
'getMatchingAssets, by keyword, assetIds in order by creationDate, descending'
|
||||
|
|
@ -99,7 +99,7 @@ cmp_deeply(
|
|||
'... only published assets'
|
||||
);
|
||||
|
||||
cmp_deeply(
|
||||
cmp_bag(
|
||||
$keyword->getMatchingAssets({ keyword => 'webgui', states => [ qw/published trash/, ]}),
|
||||
[$snippet->getId, $home->getId, ],
|
||||
'... retrieving assets in more than one state'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue