fixing tests

This commit is contained in:
Graham Knop 2008-08-21 20:44:33 +00:00
parent 10afef1abe
commit d881a82fc3
2 changed files with 5 additions and 1 deletions

View file

@ -195,6 +195,9 @@ cmp_deeply(
#
####################################################
my $origMetaEnabled = $session->setting->get("metaDataEnabled");
$session->setting->set("metaDataEnabled", 1);
# add another field for comparison
$folder->addMetaDataField('new', 'book', '', 'Favorite book', 'radioList', "1984\nDune\nLord of the Rings\nFoundation Trilogy");
@ -233,5 +236,6 @@ END {
$tag->rollback;
}
}
$session->setting->set("metaDataEnabled", $origMetaEnabled);
}