X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FCD.pm;h=512d8a1d0c7fc4e7928ca5a70970ad68a12abc70;hb=b8777a0d404d4ae4fb55473ae224ace5d0b71375;hp=d6b130aaf5de17f68af4bd311c4b0bf091b91053;hpb=fef5d100c208d604c7a7b3c33eb6e32946d71848;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/lib/DBICTest/Schema/CD.pm b/t/lib/DBICTest/Schema/CD.pm index d6b130a..512d8a1 100644 --- a/t/lib/DBICTest/Schema/CD.pm +++ b/t/lib/DBICTest/Schema/CD.pm @@ -5,22 +5,5 @@ use base 'DBIx::Class::Core'; DBICTest::Schema::CD->table('cd'); DBICTest::Schema::CD->add_columns(qw/cdid artist title year/); DBICTest::Schema::CD->set_primary_key('cdid'); -DBICTest::Schema::CD->add_relationship( - artist => 'DBICTest::Schema::Artist', - { 'foreign.artistid' => 'self.artist' } -); -DBICTest::Schema::CD->add_relationship( - tracks => 'DBICTest::Schema::Track', - { 'foreign.cd' => 'self.cdid' } -); -DBICTest::Schema::CD->add_relationship( - tags => 'DBICTest::Schema::Tag', - { 'foreign.cd' => 'self.cdid' } -); -#DBICTest::Schema::CD->might_have(liner_notes => 'DBICTest::Schema::LinerNotes' => qw/notes/); -DBICTest::Schema::CD->add_relationship( - liner_notes => 'DBICTest::Schema::LinerNotes', - { 'foreign.liner_id' => 'self.cdid' }, - { join_type => 'LEFT' }); 1;