X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FFourKeys_to_TwoKeys.pm;h=d09215f969754fbc7107c970ff25ac2b1dac50d2;hb=f54cb4d66292431efc26b4d14b22ebf9228cc7b9;hp=a208135655936e720365fb196b3c5104b7ac5601;hpb=5d22bb74b308ad7ca28cedd1ffcfd92c106b1e68;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/FourKeys_to_TwoKeys.pm b/t/lib/DBICTest/Schema/FourKeys_to_TwoKeys.pm index a208135..d09215f 100644 --- a/t/lib/DBICTest/Schema/FourKeys_to_TwoKeys.pm +++ b/t/lib/DBICTest/Schema/FourKeys_to_TwoKeys.pm @@ -21,14 +21,14 @@ __PACKAGE__->set_primary_key( qw/f_foo f_bar f_hello f_goodbye t_artist t_cd/ ); -__PACKAGE__->belongs_to('fourkeys', 'DBICTest::Schema::FourKeys', { +__PACKAGE__->refers_to('fourkeys', 'DBICTest::Schema::FourKeys', { 'foreign.foo' => 'self.f_foo', 'foreign.bar' => 'self.f_bar', 'foreign.hello' => 'self.f_hello', 'foreign.goodbye' => 'self.f_goodbye', }); -__PACKAGE__->belongs_to('twokeys', 'DBICTest::Schema::TwoKeys', { +__PACKAGE__->refers_to('twokeys', 'DBICTest::Schema::TwoKeys', { 'foreign.artist' => 'self.t_artist', 'foreign.cd' => 'self.t_cd', });