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',
|
synopsis => 'Dummy Synopsis',
|
||||||
description => 'Dummy Description',
|
description => 'Dummy Description',
|
||||||
});
|
});
|
||||||
|
WebGUI::Test->addToCleanup($dummy);
|
||||||
|
|
||||||
#####################################################
|
#####################################################
|
||||||
#
|
#
|
||||||
|
|
@ -185,17 +186,4 @@ cmp_bag(
|
||||||
'exportAssetCollateral: feed files exported, shawshank.html file'
|
'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
|
#vim:ft=perl
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,14 @@ package WebGUI::Asset::RssAspectDummy;
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use Tie::IxHash;
|
use Moose;
|
||||||
use Class::C3;
|
use WebGUI::Definition::Asset;
|
||||||
use base qw/WebGUI::AssetAspect::RssFeed WebGUI::Asset/;
|
extends 'WebGUI::Asset';
|
||||||
|
|
||||||
|
define assetName => 'RssAspectDummy';
|
||||||
|
define icon => 'asset.gif';
|
||||||
|
|
||||||
|
with 'WebGUI::Role::Asset::RssFeed';
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
|
@ -25,7 +30,7 @@ Package WebGUI::Asset::RssAspectDummy
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=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.
|
do anything, except provide suport modules for testing.
|
||||||
|
|
||||||
The module inherits directly from WebGUI::Asset.
|
The module inherits directly from WebGUI::Asset.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue