Augment test suite with oddball relationship declarations
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / ForceForeign.pm
index a870f3e..2fb7078 100644 (file)
@@ -15,8 +15,7 @@ __PACKAGE__->set_primary_key(qw/artist/);
 
 # Normally this would not appear as a FK constraint
 # since it uses the PK
-__PACKAGE__->might_have('artist_1', 'DBICTest::Schema::Artist',
-  { 'foreign.artistid' => 'self.artist' },
+__PACKAGE__->might_have('artist_1', 'DBICTest::Schema::Artist', 'artistid',
   { is_foreign_key_constraint => 1 },
 );