rename occurences of belongs_to in tests
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / FourKeys_to_TwoKeys.pm
index a208135..d09215f 100644 (file)
@@ -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',
 });