X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frelationship%2Fcustom.t;h=32c8cf8f2ca574cd808b31814ffe34705cf8798c;hb=c0329273268971824784f239f32c7246e68da9c5;hp=058636bdce3901a9d052a506f0c14f52143eb2d8;hpb=12d4ace42dceb1e264a476d26ca7189036cbbb85;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/relationship/custom.t b/t/relationship/custom.t index 058636b..32c8cf8 100644 --- a/t/relationship/custom.t +++ b/t/relationship/custom.t @@ -1,10 +1,12 @@ +BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) } + use strict; use warnings; use Test::More; use Test::Exception; use Test::Warn; -use lib qw(t/lib); + use DBICTest ':DiffSQL'; my $schema = DBICTest->init_schema(); @@ -301,7 +303,7 @@ for (qw( artist_limited_rank artist_limited_rank_opaque )) { ); # can't use the opaque one - need set_from_related to work - $artwork->set_artist_limited_rank( @artists ); + $artwork->set_artist_limited_rank( \@artists ); { local $TODO = 'Taking into account the relationship bridge condition is not likely to ever work... unless we get DQ hooked somehow';