X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FViewDeps%2FResult%2FTrackNumberFives.pm;fp=t%2Flib%2FViewDeps%2FResult%2FTrackNumberFives.pm;h=5c7225d7204a2f21b33e41d0850589ca8cea5b6a;hb=f54cb4d66292431efc26b4d14b22ebf9228cc7b9;hp=fc4a47babd4ec12b9cffb34a872715aae492f40f;hpb=5d22bb74b308ad7ca28cedd1ffcfd92c106b1e68;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/ViewDeps/Result/TrackNumberFives.pm b/t/lib/ViewDeps/Result/TrackNumberFives.pm index fc4a47b..5c7225d 100644 --- a/t/lib/ViewDeps/Result/TrackNumberFives.pm +++ b/t/lib/ViewDeps/Result/TrackNumberFives.pm @@ -19,7 +19,7 @@ __PACKAGE__->add_columns( __PACKAGE__->set_primary_key('id'); -__PACKAGE__->belongs_to( 'cd', 'ViewDeps::Result::CD', +__PACKAGE__->refers_to( 'cd', 'ViewDeps::Result::CD', { "foreign.id" => "self.cd" }, );