X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FArtist.pm;h=c993d722d96b55ddc1a2c2de73894a734fe9e996;hb=wip%2Fwhere_relattr_tests;hp=80872926cf543084b1bf4c92fc76a9e210bbbb5b;hpb=08e63d278057a059851b114425ddaa713dfea036;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/Artist.pm b/t/lib/DBICTest/Schema/Artist.pm index 8087292..c993d72 100644 --- a/t/lib/DBICTest/Schema/Artist.pm +++ b/t/lib/DBICTest/Schema/Artist.pm @@ -134,6 +134,10 @@ __PACKAGE__->has_many( __PACKAGE__->has_many( cds_very_very_very_long_relationship_name => 'DBICTest::Schema::CD' ); +__PACKAGE__->has_many( + year2001_cds => 'DBICTest::Schema::CD', undef, + { where => { year => 2001} }, +); __PACKAGE__->has_many( twokeys => 'DBICTest::Schema::TwoKeys' ); __PACKAGE__->has_many( onekeys => 'DBICTest::Schema::OneKey' );