Add link to SQLHackers documentation
[dbsrgits/DBIx-Class.git] / t / 71mysql.t
index d732e1f..f78948c 100644 (file)
@@ -6,11 +6,15 @@ use Test::Exception;
 
 use DBI::Const::GetInfoType;
 use Scalar::Util qw/weaken/;
+use DBIx::Class::Optional::Dependencies ();
 
 use lib qw(t/lib);
 use DBICTest;
 use DBIC::SqlMakerTest;
 
+plan skip_all => 'Test needs ' . DBIx::Class::Optional::Dependencies->req_missing_for ('test_rdbms_mysql')
+  unless DBIx::Class::Optional::Dependencies->req_ok_for ('test_rdbms_mysql');
+
 my ($dsn, $user, $pass) = @ENV{map { "DBICTEST_MYSQL_${_}" } qw/DSN USER PASS/};
 
 #warn "$dsn $user $pass";
@@ -401,8 +405,6 @@ ZEROINSEARCH: {
     Test::More->builder->plan('no_plan');
     Test::More->builder->_indent(' ' x 4);
 
-    ok ($orig_dbh, 'Now dead $dbh is still there for the child');
-
     # try to do something dbic-esque
     $rs->create({ name => "Hardcore Forker $$" });