Untangle strictly-DBICTest constant from the main constant set
[dbsrgits/DBIx-Class-Historic.git] / t / lib / DBICTest / Schema / CD_to_Producer.pm
index b416797..b4b064a 100644 (file)
@@ -14,9 +14,10 @@ __PACKAGE__->add_columns(
 );
 __PACKAGE__->set_primary_key(qw/cd producer/);
 
+# the undef condition in this rel is *deliberate*
+# tests oddball legacy syntax
 __PACKAGE__->belongs_to(
-  'cd', 'DBICTest::Schema::CD',
-  { 'foreign.cdid' => 'self.cd' }
+  'cd', 'DBICTest::Schema::CD'
 );
 
 __PACKAGE__->belongs_to(