Potential test update due to ordering photos in GalleryAlbum addArchive.
This commit is contained in:
parent
e485fc36b4
commit
2c75bc5108
1 changed files with 2 additions and 2 deletions
|
|
@ -136,8 +136,8 @@ $album->addArchive( WebGUI::Test->getTestCollateralPath('gallery_archive_sorting
|
|||
my $images = $album->getLineage(['descendants'], { returnObjects => 1 });
|
||||
# Check order
|
||||
cmp_deeply(
|
||||
[ map { $_->get("filename") } @$images ],
|
||||
[ "photo1.jpg", "photo2.jpg", "photo4.jpg", "photo3.jpg" ],
|
||||
[ map { $_->get("filename") } @{ $images } ],
|
||||
[ "photo1.jpg", "photo4.jpg", "photo3.jpg", "photo2.jpg", ],
|
||||
"Photos sorted by file order"
|
||||
);
|
||||
# Empty gallery album
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue