rename occurences of belongs_to in tests
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Year2000CDs.pm
index f0890a3..204dc11 100644 (file)
@@ -15,7 +15,7 @@ __PACKAGE__->result_source_instance->view_definition( sprintf (
   join (', ', __PACKAGE__->columns),
 ));
 
-__PACKAGE__->belongs_to( artist => 'DBICTest::Schema::Artist' );
+__PACKAGE__->refers_to( artist => 'DBICTest::Schema::Artist' );
 __PACKAGE__->has_many( tracks => 'DBICTest::Schema::Track',
     { "foreign.cd" => "self.cdid" });