[Bast-commits] r7947 - in DBIx-Class/0.08/trunk: . t/prefetch

ribasushi at dev.catalyst.perl.org ribasushi at dev.catalyst.perl.org
Tue Nov 24 09:39:52 GMT 2009


Author: ribasushi
Date: 2009-11-24 09:39:52 +0000 (Tue, 24 Nov 2009)
New Revision: 7947

Modified:
   DBIx-Class/0.08/trunk/Changes
   DBIx-Class/0.08/trunk/t/prefetch/via_search_related.t
Log:
Changes and prevent a spurious todo-pass

Modified: DBIx-Class/0.08/trunk/Changes
===================================================================
--- DBIx-Class/0.08/trunk/Changes	2009-11-24 09:14:46 UTC (rev 7946)
+++ DBIx-Class/0.08/trunk/Changes	2009-11-24 09:39:52 UTC (rev 7947)
@@ -5,6 +5,8 @@
         - Do not attempt to deploy FK constraints pointing to a View
         - Refactored Sybase storage driver into a central ::DBI::Sybase
           dispatcher, and a sybase-specific ::DBI::Sybase::ASE
+        - Make sure populate() inherits the resultset conditions just
+          like create() does
 
 0.08114 2009-11-14 17:45:00 (UTC)
         - Preliminary support for MSSQL via DBD::ADO

Modified: DBIx-Class/0.08/trunk/t/prefetch/via_search_related.t
===================================================================
--- DBIx-Class/0.08/trunk/t/prefetch/via_search_related.t	2009-11-24 09:14:46 UTC (rev 7946)
+++ DBIx-Class/0.08/trunk/t/prefetch/via_search_related.t	2009-11-24 09:39:52 UTC (rev 7947)
@@ -57,12 +57,12 @@
     }
   );
 
-  is($use_prefetch->count, $no_prefetch->count, 'counts with and without prefetch match');
   is(
     scalar ($use_prefetch->all),
     scalar ($no_prefetch->all),
     "Amount of returned rows is right"
   );
+  is($use_prefetch->count, $no_prefetch->count, 'counts with and without prefetch match');
 
 }, 'search_related prefetch with condition referencing unqualified column of a joined table works');
 }




More information about the Bast-commits mailing list