[Bast-commits] r5593 - DBIx-Class/0.08/trunk/t

matthewt at dev.catalyst.perl.org matthewt at dev.catalyst.perl.org
Fri Feb 20 08:16:48 GMT 2009


Author: matthewt
Date: 2009-02-20 08:16:48 +0000 (Fri, 20 Feb 2009)
New Revision: 5593

Modified:
   DBIx-Class/0.08/trunk/t/99dbic_sqlt_parser.t
Log:
skip views. because we use get_table to test. that's not gonna work.

Modified: DBIx-Class/0.08/trunk/t/99dbic_sqlt_parser.t
===================================================================
--- DBIx-Class/0.08/trunk/t/99dbic_sqlt_parser.t	2009-02-20 08:01:25 UTC (rev 5592)
+++ DBIx-Class/0.08/trunk/t/99dbic_sqlt_parser.t	2009-02-20 08:16:48 UTC (rev 5593)
@@ -14,7 +14,11 @@
 }
 
 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);
 
 { 




More information about the Bast-commits mailing list