rename occurences of belongs_to in tests
[dbsrgits/DBIx-Class.git] / t / 103many_to_many_warning.t
index f2944b4..2626197 100644 (file)
@@ -74,8 +74,8 @@ use warnings;
       data_type => 'integer',
     },
   );
-  __PACKAGE__->belongs_to('foo' => 'DBICTest::Schema::Foo${suffix}');
-  __PACKAGE__->belongs_to('bar' => 'DBICTest::Schema::Foo${suffix}');
+  __PACKAGE__->refers_to('foo' => 'DBICTest::Schema::Foo${suffix}');
+  __PACKAGE__->refers_to('bar' => 'DBICTest::Schema::Foo${suffix}');
 }
 {
   package #