[Catalyst-commits] r9624 - trunk/Catalyst-Plugin-Session-Store-DBIC/t

rafl at dev.catalyst.perl.org rafl at dev.catalyst.perl.org
Mon Mar 30 22:34:13 BST 2009


Author: rafl
Date: 2009-03-30 22:34:13 +0100 (Mon, 30 Mar 2009)
New Revision: 9624

Modified:
   trunk/Catalyst-Plugin-Session-Store-DBIC/t/04dbic.t
Log:
Pass a component name instead of a full class name to ->model.

This prevents deprecation warnings in the tests on recent Catalyst-Runtimes.

Modified: trunk/Catalyst-Plugin-Session-Store-DBIC/t/04dbic.t
===================================================================
--- trunk/Catalyst-Plugin-Session-Store-DBIC/t/04dbic.t	2009-03-30 21:31:45 UTC (rev 9623)
+++ trunk/Catalyst-Plugin-Session-Store-DBIC/t/04dbic.t	2009-03-30 21:34:13 UTC (rev 9624)
@@ -25,7 +25,7 @@
     $ENV{TESTAPP_CONFIG} = {
         name    => 'TestApp',
         session => {
-            dbic_class    => 'TestApp::Model::DBIC::Session',
+            dbic_class    => 'DBIC::Session',
             expires       => 3600,
             id_field      => 'id',
             data_field    => 'data',




More information about the Catalyst-commits mailing list