From 2c75bc5108d71834c5839480c7651f37204b33d6 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 18 May 2010 18:47:54 -0700 Subject: [PATCH] Potential test update due to ordering photos in GalleryAlbum addArchive. --- t/Asset/Wobject/GalleryAlbum/addArchive.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Asset/Wobject/GalleryAlbum/addArchive.t b/t/Asset/Wobject/GalleryAlbum/addArchive.t index afa56d598..8206c62d5 100644 --- a/t/Asset/Wobject/GalleryAlbum/addArchive.t +++ b/t/Asset/Wobject/GalleryAlbum/addArchive.t @@ -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