X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fsqlmaker%2Forder_by_bindtransport.t;h=24da80ed9ec838ca693c69025daccfca329a8ada;hb=f895c500473b77db4ecf185ed21530b821a14ed4;hp=22c82d5164c4f5213b0890077b1f4eb6e2b0b0f9;hpb=8273e845426f0187b4ad6c4a1b42286fa09a648f;p=dbsrgits%2FDBIx-Class.git diff --git a/t/sqlmaker/order_by_bindtransport.t b/t/sqlmaker/order_by_bindtransport.t index 22c82d5..24da80e 100644 --- a/t/sqlmaker/order_by_bindtransport.t +++ b/t/sqlmaker/order_by_bindtransport.t @@ -5,16 +5,10 @@ use Test::More; use Test::Exception; use Data::Dumper::Concise; use lib qw(t/lib); -use DBICTest; -use DBIC::SqlMakerTest; - -my $schema = DBICTest->init_schema; - -my $rs = $schema->resultset('FourKeys'); +use DBICTest ':DiffSQL'; sub test_order { - - TODO: { + my $rs = shift; my $args = shift; local $TODO = "Not implemented" if $args->{todo}; @@ -49,7 +43,6 @@ sub test_order { ], ) || diag Dumper $args->{order_by}; }; - } } my @tests = ( @@ -100,6 +93,7 @@ my @tests = ( }, ); -test_order($_) for @tests; +my $rs = DBICTest->init_schema->resultset('FourKeys'); +test_order($rs, $_) for @tests; done_testing;