From: Matt S Trout Date: Fri, 20 Feb 2009 08:16:48 +0000 (+0000) Subject: skip views. because we use get_table to test. that's not gonna work. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0fc7cd47f94227a162ac9a0b533575fcaed58bf2;p=dbsrgits%2FDBIx-Class-Historic.git skip views. because we use get_table to test. that's not gonna work. --- diff --git a/t/99dbic_sqlt_parser.t b/t/99dbic_sqlt_parser.t index e411135..0a42306 100644 --- a/t/99dbic_sqlt_parser.t +++ b/t/99dbic_sqlt_parser.t @@ -14,7 +14,11 @@ BEGIN { } my $schema = DBICTest->init_schema(); -my @sources = grep { $_ ne 'Dummy' } ($schema->sources); # Dummy was yanked out by the sqlt hook test +# Dummy was yanked out by the sqlt hook test +# YearXXXXCDs are views +my @sources = grep { $_ ne 'Dummy' && $_ !~ /^Year\d{4}CDs$/ } + $schema->sources; + plan tests => ( @sources * 3); {