added tests for RT#63709
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Artist.pm
index 8087292..c993d72 100644 (file)
@@ -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' );