rfe #12105: Make shortcuts related for export purposes
This commit is contained in:
parent
c015b6710c
commit
df2e1a5b27
3 changed files with 13 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue