projects
/
dbsrgits/DBIx-Class-Historic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
re-fix many_to_many and add tests
[dbsrgits/DBIx-Class-Historic.git]
/
t
/
lib
/
DBICTest
/
Schema
/
HelperRels.pm
diff --git
a/t/lib/DBICTest/Schema/HelperRels.pm
b/t/lib/DBICTest/Schema/HelperRels.pm
index
4c7ea1d
..
ff47640
100644
(file)
--- a/
t/lib/DBICTest/Schema/HelperRels.pm
+++ b/
t/lib/DBICTest/Schema/HelperRels.pm
@@
-54,5
+54,6
@@
DBICTest::Schema::ArtistUndirectedMap->has_many(
# now the Helpers
DBICTest::Schema::CD->many_to_many( 'producers', 'cd_to_producer', 'producer');
+DBICTest::Schema::CD->many_to_many( 'producers_sorted', 'cd_to_producer', 'producer', { order_by => 'producer.name' });
1;