X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2FDBICTest%2FSchema%2FForceForeign.pm;fp=t%2Flib%2FDBICTest%2FSchema%2FForceForeign.pm;h=2fb70789503db2f677b0656197ad3b0106950f37;hb=98fcc1c08b73df1c66c41fb4cc736e824e9e4026;hp=a870f3e52c26305f33e154700491952a52e59495;hpb=9e7525a2cc9d7459ee89a6d2c85913a8b8c4eff9;p=dbsrgits%2FDBIx-Class.git diff --git a/t/lib/DBICTest/Schema/ForceForeign.pm b/t/lib/DBICTest/Schema/ForceForeign.pm index a870f3e..2fb7078 100644 --- a/t/lib/DBICTest/Schema/ForceForeign.pm +++ b/t/lib/DBICTest/Schema/ForceForeign.pm @@ -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 }, );