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);
}

View file

@ -101,7 +101,7 @@ is($WebGUI::Test::logger_debug, "query $queryCount:\n select more", "query: Log
$eh->query('select many', [1, 2]);
++$queryCount;
is($WebGUI::Test::logger_debug, "query $queryCount:\n select many\n with placeholders: ['1', '2']", "query: Log4perl called debug via query, empty placeholder");
is($WebGUI::Test::logger_debug, "query $queryCount:\n select many\n with placeholders: [1,2]", "query: Log4perl called debug via query, empty placeholder");
####################################################
#