Upgrade this test for Definition. Something bad is still happening in export.
This commit is contained in:
parent
0a9785e258
commit
910a0a09dd
2 changed files with 10 additions and 17 deletions
|
|
@ -48,6 +48,7 @@ my $dummy = WebGUI::Asset->getDefault($session)->addChild({
|
|||
synopsis => 'Dummy Synopsis',
|
||||
description => 'Dummy Description',
|
||||
});
|
||||
WebGUI::Test->addToCleanup($dummy);
|
||||
|
||||
#####################################################
|
||||
#
|
||||
|
|
@ -185,17 +186,4 @@ cmp_bag(
|
|||
'exportAssetCollateral: feed files exported, shawshank.html file'
|
||||
);
|
||||
|
||||
#####################################################
|
||||
#
|
||||
# exportAssetCollateral
|
||||
#
|
||||
#####################################################
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# Cleanup
|
||||
END {
|
||||
$dummy->purge;
|
||||
my $tag = WebGUI::VersionTag->getWorking($session, 'noCreate');
|
||||
$tag->rollback if $tag;
|
||||
}
|
||||
#vim:ft=perl
|
||||
|
|
|
|||
|
|
@ -15,9 +15,14 @@ package WebGUI::Asset::RssAspectDummy;
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
use Tie::IxHash;
|
||||
use Class::C3;
|
||||
use base qw/WebGUI::AssetAspect::RssFeed WebGUI::Asset/;
|
||||
use Moose;
|
||||
use WebGUI::Definition::Asset;
|
||||
extends 'WebGUI::Asset';
|
||||
|
||||
define assetName => 'RssAspectDummy';
|
||||
define icon => 'asset.gif';
|
||||
|
||||
with 'WebGUI::Role::Asset::RssFeed';
|
||||
|
||||
=head1 NAME
|
||||
|
||||
|
|
@ -25,7 +30,7 @@ Package WebGUI::Asset::RssAspectDummy
|
|||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
A dummy module for testing the RssAspect. The module really doesn't
|
||||
A dummy module for testing the Rss Role. The module really doesn't
|
||||
do anything, except provide suport modules for testing.
|
||||
|
||||
The module inherits directly from WebGUI::Asset.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue