rfe #12105: Make shortcuts related for export purposes

This commit is contained in:
Paul Driver 2011-04-13 15:57:50 -05:00
parent c015b6710c
commit df2e1a5b27
3 changed files with 13 additions and 3 deletions

View file

@ -33,7 +33,7 @@ init();
#----------------------------------------------------------------------------
# Tests
plan tests => 11;
plan tests => 12;
#----------------------------------------------------------------------------
# Test shortcut's link to original asset
@ -54,6 +54,12 @@ is(
"Original assetId is correct"
);
is_deeply(
[ $shortcut->getId ],
$original->exportGetRelatedAssetIds,
'shortcut is related for the purpose of exports',
);
#----------------------------------------------------------------------------
# Test trashing snippet trashes shortcut also
$snippet->trash;