X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fsqlmaker%2Foracle.t;h=69234f94a1c0f492ae75eca247b6b01f16324525;hb=7cd98754bc5a7287b44cc9638420bd03392e41cb;hp=9491d6e303bec48182cca8484bb89b9671bd4a1f;hpb=bf51641f97a504ae9796fcc45da4e409c6466ca4;p=dbsrgits%2FDBIx-Class.git diff --git a/t/sqlmaker/oracle.t b/t/sqlmaker/oracle.t index 9491d6e..69234f9 100644 --- a/t/sqlmaker/oracle.t +++ b/t/sqlmaker/oracle.t @@ -1,15 +1,23 @@ use strict; use warnings; use Test::More; + +BEGIN { + require DBIx::Class::Optional::Dependencies; + plan skip_all => 'Test needs ' . DBIx::Class::Optional::Dependencies->req_missing_for ('id_shortener') + unless DBIx::Class::Optional::Dependencies->req_ok_for ('id_shortener'); +} + use Test::Exception; use Data::Dumper::Concise; use lib qw(t/lib); +use DBICTest; use DBIC::SqlMakerTest; 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 +44,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 => {