diff --git a/t/Asset/Wobject/Collaboration.t b/t/Asset/Wobject/Collaboration.t index cbd8c91a9..1bc3fea02 100644 --- a/t/Asset/Wobject/Collaboration.t +++ b/t/Asset/Wobject/Collaboration.t @@ -32,7 +32,7 @@ use WebGUI::Asset::Wobject::Collaboration; use WebGUI::Asset::Post; use WebGUI::Asset::Wobject::Layout; use Data::Dumper; -use Test::More tests => 8; # increment this value for each test you create +use Test::More tests => 7; # increment this value for each test you create my $session = WebGUI::Test->session; @@ -60,7 +60,7 @@ ok(defined $collab->get('groupToEditPost'), 'groupToEditPost field is defined'); # Verify sane defaults cmp_ok($collab->get('groupToEditPost'), 'eq', $collab->get('groupIdEdit'), 'groupToEditPost defaults to groupIdEdit correctly'); -is($collab->get('rssCapableRssLimit'), 10, 'rssCapableRssLimit is set to the default'); +is($collab->get('itemsPerFeed'), 25, 'itemsPerFeed is set to the default'); # finally, add the post to the collaboration system my $props = { @@ -88,10 +88,8 @@ $post = $collab->addChild($props, skipAutoCommitWorkflows => 1, }); -my $rssitems = $collab->getRssItems(); -is($rssitems, 2, 'rssitems set to number of posts added'); - -is($collab->get('rssCapableRssLimit'), 10, 'rssCapableRssLimit is set to the default'); +my $rssitems = $collab->getRssFeedItems(); +is(scalar@{ $rssitems }, 2, 'rssitems set to number of posts added'); TODO: { local $TODO = "Tests to make later";