[Catalyst-commits] r9621 - tags/Catalyst-Plugin-Session-Store-DBIC/0.08/t

rafl at dev.catalyst.perl.org rafl at dev.catalyst.perl.org
Mon Mar 30 22:27:03 BST 2009


Author: rafl
Date: 2009-03-30 22:27:03 +0100 (Mon, 30 Mar 2009)
New Revision: 9621

Modified:
   tags/Catalyst-Plugin-Session-Store-DBIC/0.08/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: tags/Catalyst-Plugin-Session-Store-DBIC/0.08/t/04dbic.t
===================================================================
--- tags/Catalyst-Plugin-Session-Store-DBIC/0.08/t/04dbic.t	2009-03-30 16:15:51 UTC (rev 9620)
+++ tags/Catalyst-Plugin-Session-Store-DBIC/0.08/t/04dbic.t	2009-03-30 21:27:03 UTC (rev 9621)
@@ -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