fixing tests
This commit is contained in:
parent
10afef1abe
commit
d881a82fc3
2 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
||||
####################################################
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue