Change cache strategy for User.t. Fix setRow in SQL.pm to accept overrides in row identifiers.
This commit is contained in:
parent
1c4ea8eacd
commit
7032e86cf1
3 changed files with 9 additions and 8 deletions
8
t/User.t
8
t/User.t
|
|
@ -15,7 +15,6 @@ use lib "$FindBin::Bin/lib";
|
|||
use WebGUI::Test;
|
||||
use WebGUI::Session;
|
||||
use WebGUI::Utility;
|
||||
use WebGUI::Cache;
|
||||
#use Exception::Class;
|
||||
|
||||
use WebGUI::User;
|
||||
|
|
@ -28,8 +27,9 @@ use Data::Dumper;
|
|||
|
||||
my $session = WebGUI::Test->session;
|
||||
|
||||
my $testCache = WebGUI::Cache->new($session, 'myTestKey');
|
||||
$testCache->flush;
|
||||
#my $testCache = WebGUI::Cache->new($session, 'myTestKey');
|
||||
#$testCache->flush;
|
||||
$session->cache->remove('myTestKey');
|
||||
|
||||
my $user;
|
||||
my $lastUpdate;
|
||||
|
|
@ -1063,6 +1063,6 @@ END {
|
|||
|
||||
$newProfileField->delete() if $newProfileField;
|
||||
|
||||
$testCache->flush;
|
||||
$session->cache->delete('myTestKey');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue