From: Rafael Kitover Date: Tue, 7 Jun 2011 06:02:22 +0000 (-0400) Subject: improve uniq_to_primary test X-Git-Tag: 0.07011~84 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=78cf39e4bd10944f9fa11a5cad36fa8459c4df45;p=dbsrgits%2FDBIx-Class-Schema-Loader.git improve uniq_to_primary test --- diff --git a/t/lib/dbixcsl_common_tests.pm b/t/lib/dbixcsl_common_tests.pm index e8b3225..f15f949 100644 --- a/t/lib/dbixcsl_common_tests.pm +++ b/t/lib/dbixcsl_common_tests.pm @@ -1435,7 +1435,10 @@ sub create { id INTEGER NOT NULL UNIQUE, id1 INTEGER NOT NULL, id2 INTEGER NOT NULL, - UNIQUE (id1, id2) + id3 INTEGER $self->{null}, + id4 INTEGER NOT NULL, + UNIQUE (id1, id2), + UNIQUE (id3, id4) ) $self->{innodb} }, );