rename occurences of belongs_to in tests
[dbsrgits/DBIx-Class.git] / t / lib / PrefetchBug / LeftRight.pm
index 8ac1362..997086a 100644 (file)
@@ -13,8 +13,8 @@ __PACKAGE__->add_columns(
     value => {});
 
 __PACKAGE__->set_primary_key('left_id', 'right_id');
-__PACKAGE__->belongs_to(left => 'PrefetchBug::Left', 'left_id');
-__PACKAGE__->belongs_to(
+__PACKAGE__->refers_to(left => 'PrefetchBug::Left', 'left_id');
+__PACKAGE__->refers_to(
     right => 'PrefetchBug::Right',
     'right_id',
 #    {join_type => 'left'}