X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=t%2F86sqlt.t;h=1b80e21b9096ff633457433f0ca3fe9ed51ac69c;hp=d01a6306ebfc97e7c9dd11ca358d4a3d5be8820d;hb=368a5228b107faaef1af5d09b0a25ea8bb603421;hpb=176149441955d3c4319cfa2f8e0c2b07551d2761 diff --git a/t/86sqlt.t b/t/86sqlt.t index d01a630..1b80e21 100644 --- a/t/86sqlt.t +++ b/t/86sqlt.t @@ -12,7 +12,7 @@ plan skip_all => 'SQL::Translator required' if $@; my $schema = 'DBICTest::Schema'; -plan tests => 31; +plan tests => 33; my $translator = SQL::Translator->new( parser_args => { @@ -95,6 +95,9 @@ my @unique_constraints = ( {'display' => 'cd artist and title unique', 'table' => 'cd', 'cols' => ['artist', 'title'], 'needed' => 1}, + {'display' => 'producer name unique', + 'table' => 'producer', 'cols' => ['name'], + 'needed' => 1}, {'display' => 'twokeytreelike name unique', 'table' => 'twokeytreelike', 'cols' => ['name'], 'needed' => 1},