Update StoryTopic tests for CSV Keywords
This commit is contained in:
parent
db0d709b92
commit
5e1cf93394
1 changed files with 2 additions and 2 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue