From 5e1cf9339469dc9a1749e59a3d8a1255fc643964 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 8 Apr 2009 16:59:58 +0000 Subject: [PATCH] Update StoryTopic tests for CSV Keywords --- t/Asset/Wobject/StoryTopic.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/Asset/Wobject/StoryTopic.t b/t/Asset/Wobject/StoryTopic.t index b21499917..da75588e1 100644 --- a/t/Asset/Wobject/StoryTopic.t +++ b/t/Asset/Wobject/StoryTopic.t @@ -52,7 +52,7 @@ my $newFolder = $archive->getFolder($yesterday); my $creationDateSth = $session->db->prepare('update asset set creationDate=? where assetId=?'); -my $pastStory = $newFolder->addChild({ className => 'WebGUI::Asset::Story', title => "Yesterday is history", keywords => 'andy norton'}); +my $pastStory = $newFolder->addChild({ className => 'WebGUI::Asset::Story', title => "Yesterday is history", keywords => 'andy,norton'}); $creationDateSth->execute([$yesterday, $pastStory->getId]); my @staff = qw/norton hadley mert trout/; @@ -77,7 +77,7 @@ SKIP: { skip "Unable to load module $class", $tests unless $loaded; -$topic = WebGUI::Asset->getDefault($session)->addChild({ className => 'WebGUI::Asset::Wobject::StoryTopic', title => 'Popular inmates in Shawshank Prison', keywords => join(' ', @inmates)}); +$topic = WebGUI::Asset->getDefault($session)->addChild({ className => 'WebGUI::Asset::Wobject::StoryTopic', title => 'Popular inmates in Shawshank Prison', keywords => join(',', @inmates)}); isa_ok($topic, 'WebGUI::Asset::Wobject::StoryTopic', 'made a Story Topic'); $topic->update({