From 4ace015f4ee5511b98fa23e65be135ebba224163 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Tue, 15 Jun 2010 03:53:01 -0500 Subject: [PATCH] diag -> note --- t/Asset/Wobject/GalleryAlbum/navigation.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Asset/Wobject/GalleryAlbum/navigation.t b/t/Asset/Wobject/GalleryAlbum/navigation.t index 14f36cc4e..e2114c08c 100644 --- a/t/Asset/Wobject/GalleryAlbum/navigation.t +++ b/t/Asset/Wobject/GalleryAlbum/navigation.t @@ -76,7 +76,7 @@ use_ok("WebGUI::Asset::Wobject::GalleryAlbum"); #---------------------------------------------------------------------------- # Test getPreviousFileId -diag('getPreviousFileId'); +note 'getPreviousFileId'; is( $album->getPreviousFileId($photo[2]->getId), $photo[1]->getId, 'Id of photo previous of photo no. 3 equals id of photo no. 2' ); is( $album->getPreviousFileId($photo[1]->getId), $photo[0]->getId, 'Id of photo previous of photo no. 2 equals id of photo no. 1' ); is( $album->getPreviousFileId($photo[0]->getId), undef, 'Id of photo previous of photo no. 3 is undef' ); @@ -89,7 +89,7 @@ is( $album->getPreviousFileId($album->getId), undef, 'Return undef if non-child #---------------------------------------------------------------------------- # Test getNextFileId -diag('getNextFileId'); +note 'getNextFileId'; is( $album->getNextFileId($photo[2]->getId), $photo[3]->getId, 'Id of photo next of photo no. 3 equals id of photo no. 4' ); is( $album->getNextFileId($photo[3]->getId), $photo[4]->getId, 'Id of photo next of photo no. 4 equals id of photo no. 5' ); is( $album->getNextFileId($photo[4]->getId), undef, 'Id of photo next of photo no. 5 is undef' );