option to include resolved tickets in search, RT#11658
[freeside.git] / rt / lib / RT / Test.pm
index 7c63137..9954ec7 100644 (file)
@@ -1059,6 +1059,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);
 }