projects
/
dbsrgits/DBIx-Class.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.git]
/
t
/
lib
/
DBICTest
/
Schema
/
BasicRels.pm
diff --git
a/t/lib/DBICTest/Schema/BasicRels.pm
b/t/lib/DBICTest/Schema/BasicRels.pm
index
551d8b9
..
7a6f520
100644
(file)
--- a/
t/lib/DBICTest/Schema/BasicRels.pm
+++ b/
t/lib/DBICTest/Schema/BasicRels.pm
@@
-100,5
+100,6
@@
DBICTest::Schema::CD_to_Producer->add_relationship(
# 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;