From: Will Hawes Date: Wed, 25 Jan 2006 23:22:43 +0000 (+0000) Subject: add accessor to rels for DBICTest::Schema::Tag and DBICTest::Schema::Track X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7b0fc1bee6c2168a7aa6455051c8ef085f1d99c3;p=dbsrgits%2FDBIx-Class-Historic.git add accessor to rels for DBICTest::Schema::Tag and DBICTest::Schema::Track --- diff --git a/t/lib/DBICTest/Schema/BasicRels.pm b/t/lib/DBICTest/Schema/BasicRels.pm index a3e7279..9894bb9 100644 --- a/t/lib/DBICTest/Schema/BasicRels.pm +++ b/t/lib/DBICTest/Schema/BasicRels.pm @@ -71,12 +71,14 @@ DBICTest::Schema::SelfRef->add_relationship( DBICTest::Schema::Tag->add_relationship( cd => 'DBICTest::Schema::CD', - { 'foreign.cdid' => 'self.cd' } + { 'foreign.cdid' => 'self.cd' }, + { accessor => 'single' } ); DBICTest::Schema::Track->add_relationship( cd => 'DBICTest::Schema::CD', - { 'foreign.cdid' => 'self.cd' } + { 'foreign.cdid' => 'self.cd' }, + { accessor => 'single' } ); DBICTest::Schema::TwoKeys->add_relationship(