[Bast-commits] r7591 - DBIx-Class/0.08/branches/sybase/t

ribasushi at dev.catalyst.perl.org ribasushi at dev.catalyst.perl.org
Mon Sep 7 07:14:33 GMT 2009


Author: ribasushi
Date: 2009-09-07 07:14:33 +0000 (Mon, 07 Sep 2009)
New Revision: 7591

Modified:
   DBIx-Class/0.08/branches/sybase/t/746sybase.t
Log:
Whoops this should not have committed

Modified: DBIx-Class/0.08/branches/sybase/t/746sybase.t
===================================================================
--- DBIx-Class/0.08/branches/sybase/t/746sybase.t	2009-09-07 07:10:05 UTC (rev 7590)
+++ DBIx-Class/0.08/branches/sybase/t/746sybase.t	2009-09-07 07:14:33 UTC (rev 7591)
@@ -18,12 +18,17 @@
     'Set $ENV{DBICTEST_SYBASE_DSN}, _USER and _PASS to run this test' .
     "\nWarning: This test drops and creates the tables " .
     "'artist' and 'bindtype_test'";
+} else {
+  plan tests => $TESTS*2 + 1;
 }
 
 my @storage_types = (
   'DBI::Sybase',
   'DBI::Sybase::NoBindVars',
 );
+my $schema;
+my $storage_idx = -1;
+
 sub get_schema {
   DBICTest::Schema->connect($dsn, $user, $pass, {
     on_connect_call => [
@@ -41,21 +46,9 @@
   };
 }
 
-my $schema;
-my $storage_idx = -1;
-
 for my $storage_type (@storage_types) {
   $storage_idx++;
-  _run_tests ($storage);
-}
 
-
-
-
-is $ping_count, 0, 'no pings';
-
-
-sub _run_tests {
   unless ($storage_type eq 'DBI::Sybase') { # autodetect
     DBICTest::Schema->storage_type("::$storage_type");
   }
@@ -361,6 +354,8 @@
   diag $@ if $@;
 }
 
+is $ping_count, 0, 'no pings';
+
 # clean up our mess
 END {
   if (my $dbh = eval { $schema->storage->_dbh }) {




More information about the Bast-commits mailing list