summaryrefslogtreecommitdiff
path: root/rt/lib/RT/Test.pm
diff options
context:
space:
mode:
authormark <mark>2011-01-01 00:47:17 +0000
committermark <mark>2011-01-01 00:47:17 +0000
commitedd081af5ca8e5fe87a9aaa8d364a70cc4163e74 (patch)
treeee52fdd0d514aeb178be91b1da1f14d79e82edbd /rt/lib/RT/Test.pm
parent903bebf00a555e3b285df70d031f158b5f817a16 (diff)
limit ticket creation queue dropdowns based on ACL, RT#7778
Diffstat (limited to 'rt/lib/RT/Test.pm')
-rw-r--r--rt/lib/RT/Test.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/rt/lib/RT/Test.pm b/rt/lib/RT/Test.pm
index b8d1683d0..64b736fad 100644
--- a/rt/lib/RT/Test.pm
+++ b/rt/lib/RT/Test.pm
@@ -1027,6 +1027,9 @@ sub start_standalone_server {
$RT::Handle->dbh( undef );
RT->ConnectToDatabase;
+ # the attribute cache holds on to a stale dbh
+ delete $RT::System->{attributes};
+
return ($ret, RT::Test::Web->new);
}