X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F95sql_maker.t;h=48f66ac28c772e4f4f6c46925c67ffc7b646c176;hb=4a339535906fa0d29a8f80700e58f61251e90e77;hp=900e6048a30b3c569ceb407e4c0c37ab298f8785;hpb=89479564f69e12460c2740d1d74c6a1253af18cb;p=dbsrgits%2FDBIx-Class.git diff --git a/t/95sql_maker.t b/t/95sql_maker.t index 900e604..48f66ac 100644 --- a/t/95sql_maker.t +++ b/t/95sql_maker.t @@ -2,8 +2,9 @@ use strict; use warnings; use Test::More; -use SQL::Abstract::Test import => ['is_same_sql_bind']; +use lib qw(t/lib); +use DBIC::SqlMakerTest; BEGIN { eval "use DBD::SQLite"; @@ -12,8 +13,6 @@ BEGIN { : ( tests => 3 ); } -use lib qw(t/lib); - use_ok('DBICTest'); my $schema = DBICTest->init_schema(); @@ -21,9 +20,7 @@ my $schema = DBICTest->init_schema(); my $sql_maker = $schema->storage->sql_maker; -SKIP: { - skip "SQL::Abstract < 1.50 does not pass through arrayrefs", 2 if $SQL::Abstract::VERSION < 1.50; - +{ my ($sql, @bind) = $sql_maker->insert( 'lottery', {