X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FBasicRels.pm;h=161e8149b356ad65a01474472cf3d64da0330cac;hb=45fa82889e637f9382eb2890b44fc58ef122de25;hp=ecb9cefd7596f813791dbd38ba43b1c7f37ace42;hpb=f9cc31dddebb6a36835c11348680ccd7d70939cc;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/t/lib/DBICTest/Schema/BasicRels.pm b/t/lib/DBICTest/Schema/BasicRels.pm index ecb9cef..161e814 100644 --- a/t/lib/DBICTest/Schema/BasicRels.pm +++ b/t/lib/DBICTest/Schema/BasicRels.pm @@ -1,4 +1,5 @@ -package DBICTest::Schema::BasicRels; +package # hide from PAUSE + DBICTest::Schema::BasicRels; use base 'DBIx::Class::Core'; @@ -38,7 +39,7 @@ DBICTest::Schema::CD->add_relationship( DBICTest::Schema::CD->add_relationship( tags => 'DBICTest::Schema::Tag', { 'foreign.cd' => 'self.cdid' }, - { join_type => 'LEFT', cascade_delete => 1, cascade_copy => 1, accessor => 'multi' } + { join_type => 'LEFT', cascade_delete => 1, cascade_copy => 1, accessor => 'multi', order_by => 'tag' } ); #DBICTest::Schema::CD->might_have(liner_notes => 'DBICTest::Schema::LinerNotes' => qw/notes/); DBICTest::Schema::CD->add_relationship(