projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Augment test suite with oddball relationship declarations
[dbsrgits/DBIx-Class.git]
/
t
/
lib
/
DBICTest
/
Schema
/
Artist.pm
diff --git
a/t/lib/DBICTest/Schema/Artist.pm
b/t/lib/DBICTest/Schema/Artist.pm
index
20affe0
..
34532dc
100644
(file)
--- a/
t/lib/DBICTest/Schema/Artist.pm
+++ b/
t/lib/DBICTest/Schema/Artist.pm
@@
-44,6
+44,8
@@
__PACKAGE__->mk_classdata('field_name_for', {
name => 'artist name',
});
+# the undef condition in this rel is *deliberate*
+# tests oddball legacy syntax
__PACKAGE__->has_many(
cds => 'DBICTest::Schema::CD', undef,
{ order_by => { -asc => 'year'} },