X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frelationship%2Fresolve_relationship_condition.t;h=801b1ea4fac4dea9561cd651e8f6e3e88688424e;hb=786c1cddede6675b9fc5fc46ae4e1e136ef2c392;hp=1d4cb6271ac4fce81c8eb63ef6ac2df9fa72db49;hpb=8169206ce114acbafb83932cd7cfa4c75b2bd0ce;p=dbsrgits%2FDBIx-Class.git diff --git a/t/relationship/resolve_relationship_condition.t b/t/relationship/resolve_relationship_condition.t index 1d4cb62..801b1ea 100644 --- a/t/relationship/resolve_relationship_condition.t +++ b/t/relationship/resolve_relationship_condition.t @@ -1,10 +1,12 @@ +BEGIN { do "./t/lib/ANFANG.pm" or die ( $@ || $! ) } + use strict; use warnings; use Test::More; use Test::Exception; -use lib 't/lib'; + use DBICTest; my $schema = DBICTest->init_schema(); @@ -25,7 +27,9 @@ for ( } qr/ \Qis not a column on related source 'CD'\E | - \QValue supplied for '...{foreign_values}{year}' is not a direct equivalence expression\E + \Qsupplied value for foreign column 'year' is not a direct equivalence expression\E + | + \QThe key '-\E \w+ \Q' supplied as part of 'foreign_values' during relationship resolution must be a column name, not a function\E /x; }