[Jifty-commit] r911 - in jifty/trunk: lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Mon Apr 24 13:21:03 EDT 2006
Author: jesse
Date: Mon Apr 24 13:21:01 2006
New Revision: 911
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Test.pm
Log:
r11828 at hualien: jesse | 2006-04-23 23:47:28 -0400
* Only blow away the database on test pass if we set one up in the first place
Modified: jifty/trunk/lib/Jifty/Test.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Test.pm (original)
+++ jifty/trunk/lib/Jifty/Test.pm Mon Apr 24 13:21:01 2006
@@ -182,12 +182,14 @@
unlink mailbox();
# Remove testing db
- Jifty->handle->disconnect() if (Jifty->handle);
+ if (Jifty->handle) {
+ Jifty->handle->disconnect();
Log::Log4perl->get_logger("SchemaTool")->less_logging(3);
my $schema = Jifty::Script::Schema->new;
$schema->{drop_database} = 1;
$schema->run;
Log::Log4perl->get_logger("SchemaTool")->more_logging(3);
+ }
}
}
More information about the Jifty-commit
mailing list