Add import-time-skip support to OptDeps, switch most tests over to that
[dbsrgits/DBIx-Class.git] / t / sqlmaker / oracle.t
index 9491d6e..cd3e629 100644 (file)
@@ -1,15 +1,18 @@
+use DBIx::Class::Optional::Dependencies -skip_all_without => 'id_shortener';
+
 use strict;
 use warnings;
+
 use Test::More;
 use Test::Exception;
 use Data::Dumper::Concise;
 use lib qw(t/lib);
-use DBIC::SqlMakerTest;
+use DBICTest ':DiffSQL';
 use DBIx::Class::SQLMaker::Oracle;
 
 #
-#  Offline test for connect_by 
-#  ( without acitve database connection)
+#  Offline test for connect_by
+#  ( without active database connection)
 #
 my @handle_tests = (
     {
@@ -36,7 +39,7 @@ my @handle_tests = (
         bind        => ['King'],
         msg         => 'oracle.com example #1',
     },
-    # CONNECT BY PRIOR employee_id = manager_id and 
+    # CONNECT BY PRIOR employee_id = manager_id and
     #            PRIOR account_mgr_id = customer_id ...
     {
         connect_by  => {