limit ticket creation queue dropdowns based on ACL, RT#7778
[freeside.git] / rt / lib / RT / Test.pm
index b8d1683..64b736f 100644 (file)
@@ -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);
 }