[Bast-commits] r9905 - ironman/IronMan-Schema/trunk/t

idn at dev.catalyst.perl.org idn at dev.catalyst.perl.org
Thu Jul 14 20:39:44 GMT 2011


Author: idn
Date: 2011-07-14 20:39:44 +0000 (Thu, 14 Jul 2011)
New Revision: 9905

Modified:
   ironman/IronMan-Schema/trunk/t/02_testdb_deploy.t
Log:
Fixing broken test - deploy doesn't know if it succeeds or not

Modified: ironman/IronMan-Schema/trunk/t/02_testdb_deploy.t
===================================================================
--- ironman/IronMan-Schema/trunk/t/02_testdb_deploy.t	2011-07-06 16:38:53 UTC (rev 9904)
+++ ironman/IronMan-Schema/trunk/t/02_testdb_deploy.t	2011-07-14 20:39:44 UTC (rev 9905)
@@ -19,11 +19,11 @@
 if(-e $dir . $file) {
     plan skip_all => 'Test database file already exists.  Skipping creation.';
 } else {
-    plan tests => 3;
+    plan tests => 2;
 }
 
 ok($schema = IronMan::Schema->connect("dbi:SQLite:$dir$file"), "Creating a schema object");
-ok($schema->deploy(), "Deploying the new schema object");
+$schema->deploy();
 
 # Check the file exists
 my $file_exists = (-e $dir . $file);




More information about the Bast-commits mailing list