X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fsqlmaker%2Forder_by_bindtransport.t;h=b612375f45dad093f5b37a18d24317995d3980fe;hb=1e4f9fb3b8bd1f54518bc2942554099356fa6524;hp=22c82d5164c4f5213b0890077b1f4eb6e2b0b0f9;hpb=8273e845426f0187b4ad6c4a1b42286fa09a648f;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/sqlmaker/order_by_bindtransport.t b/t/sqlmaker/order_by_bindtransport.t index 22c82d5..b612375 100644 --- a/t/sqlmaker/order_by_bindtransport.t +++ b/t/sqlmaker/order_by_bindtransport.t @@ -8,13 +8,8 @@ use lib qw(t/lib); use DBICTest; use DBIC::SqlMakerTest; -my $schema = DBICTest->init_schema; - -my $rs = $schema->resultset('FourKeys'); - sub test_order { - - TODO: { + my $rs = shift; my $args = shift; local $TODO = "Not implemented" if $args->{todo}; @@ -49,7 +44,6 @@ sub test_order { ], ) || diag Dumper $args->{order_by}; }; - } } my @tests = ( @@ -100,6 +94,7 @@ my @tests = ( }, ); -test_order($_) for @tests; +my $rs = DBICTest->init_schema->resultset('FourKeys'); +test_order($rs, $_) for @tests; done_testing;