diff --git a/t/Asset/AssetLineage.t b/t/Asset/AssetLineage.t index d32a0d1b7..1455ddbd2 100644 --- a/t/Asset/AssetLineage.t +++ b/t/Asset/AssetLineage.t @@ -17,7 +17,7 @@ use WebGUI::Session; use WebGUI::User; use WebGUI::Asset; -use Test::More tests => 98; # increment this value for each test you create +use Test::More tests => 99; # increment this value for each test you create use Test::Deep; # Test the methods in WebGUI::AssetLineage @@ -352,7 +352,7 @@ is($snippets[6]->getRank(), '5', 'setRank was able to set an arbitrary rank(lowe $lineageIds = $folder->getLineage(['descendants']); cmp_bag(\@snipIds, $lineageIds, 'setRank reordered the other siblings appropiately'); -$snippets[6]->setRank('000007'); +ok $snippets[6]->setRank('000007'), 'move snippet 6 to rank 7'; is($snippets[6]->getRank(), '7', 'setRank: move the Asset back (higher rank)'); @snipIds = map { $_->getId } @snippets;