X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FYear2000CDs.pm;fp=t%2Flib%2FDBICTest%2FSchema%2FYear2000CDs.pm;h=3ae7de51f59afc8d925ee4c1bdaa5c9794c25321;hb=98fcc1c08b73df1c66c41fb4cc736e824e9e4026;hp=f0890a32f0e5715c46dae71b3c27eca4fd85da39;hpb=9e7525a2cc9d7459ee89a6d2c85913a8b8c4eff9;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/Year2000CDs.pm b/t/lib/DBICTest/Schema/Year2000CDs.pm index f0890a3..3ae7de5 100644 --- a/t/lib/DBICTest/Schema/Year2000CDs.pm +++ b/t/lib/DBICTest/Schema/Year2000CDs.pm @@ -16,7 +16,6 @@ __PACKAGE__->result_source_instance->view_definition( sprintf ( )); __PACKAGE__->belongs_to( artist => 'DBICTest::Schema::Artist' ); -__PACKAGE__->has_many( tracks => 'DBICTest::Schema::Track', - { "foreign.cd" => "self.cdid" }); +__PACKAGE__->has_many( tracks => 'DBICTest::Schema::Track', 'cd' ); 1;