X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FViewDeps%2FResult%2FTrack.pm;fp=t%2Flib%2FViewDeps%2FResult%2FTrack.pm;h=f1f2fdc293e6ffdfd67f7ef860b2f133661a38a8;hb=f54cb4d66292431efc26b4d14b22ebf9228cc7b9;hp=62b1b9956dfee7285d39f3375797d4e22d1cf9f3;hpb=5d22bb74b308ad7ca28cedd1ffcfd92c106b1e68;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/ViewDeps/Result/Track.pm b/t/lib/ViewDeps/Result/Track.pm index 62b1b99..f1f2fdc 100644 --- a/t/lib/ViewDeps/Result/Track.pm +++ b/t/lib/ViewDeps/Result/Track.pm @@ -16,7 +16,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" }, );