[Bast-commits] r6839 - DBIx-Class/0.08/branches/grouped_prefetch/t

ribasushi at dev.catalyst.perl.org ribasushi at dev.catalyst.perl.org
Mon Jun 29 07:50:43 GMT 2009


Author: ribasushi
Date: 2009-06-29 07:50:43 +0000 (Mon, 29 Jun 2009)
New Revision: 6839

Modified:
   DBIx-Class/0.08/branches/grouped_prefetch/t/60core.t
Log:
This is tested elsewhere (2)

Modified: DBIx-Class/0.08/branches/grouped_prefetch/t/60core.t
===================================================================
--- DBIx-Class/0.08/branches/grouped_prefetch/t/60core.t	2009-06-29 07:49:53 UTC (rev 6838)
+++ DBIx-Class/0.08/branches/grouped_prefetch/t/60core.t	2009-06-29 07:50:43 UTC (rev 6839)
@@ -9,7 +9,7 @@
 
 my $schema = DBICTest->init_schema();
 
-plan tests => 105;
+plan tests => 103;
 
 eval { require DateTime::Format::SQLite };
 my $NO_DTFM = $@ ? 1 : 0;
@@ -229,10 +229,6 @@
 is ($collapsed_or_rs->all, 4, 'Collapsed joined search with OR returned correct number of rows');
 is ($collapsed_or_rs->count, 4, 'Collapsed search count with OR ok');
 
-my $pref_or_rs = $collapsed_or_rs->search ({}, { prefetch => [qw/tags/] });
-is ($pref_or_rs->all, 4, 'Prefetched grouped search with OR returned correct number of rows');
-is ($pref_or_rs->count, 4, 'Prefetched grouped count with OR ok');
-
 {
   my $tcount = $schema->resultset('Track')->search(
     {},




More information about the Bast-commits mailing list