X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F99dbic_sqlt_parser.t;h=0a4230637862ecaeaaa190914837ab8e19b87dae;hb=8f5357074109c0b803f1565921cb13f85449d8d1;hp=e4111357c9e9fa5b82bd2344db4ea6a7df3da159;hpb=228d5eae483427447ab808dee3f955a4d2ed0801;p=dbsrgits%2FDBIx-Class.git 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); {