rename occurences of belongs_to in tests
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / SelfRefAlias.pm
index aaf453e..b376520 100644 (file)
@@ -17,7 +17,7 @@ __PACKAGE__->add_columns(
 );
 __PACKAGE__->set_primary_key(qw/self_ref alias/);
 
-__PACKAGE__->belongs_to( self_ref => 'DBICTest::Schema::SelfRef' );
-__PACKAGE__->belongs_to( alias => 'DBICTest::Schema::SelfRef' );
+__PACKAGE__->refers_to( self_ref => 'DBICTest::Schema::SelfRef' );
+__PACKAGE__->refers_to( alias => 'DBICTest::Schema::SelfRef' );
 
 1;