Wrap dangerous Ordered operations in transactions (still needs optimisations wrt...
[dbsrgits/DBIx-Class.git] / t / 99dbic_sqlt_parser.t
index e411135..0a42306 100644 (file)
@@ -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);
 
 {