[prev] [thread] [next] [lurker] [Date index for 2005/01/26]
Author: richardc Date: 2005-01-26 22:06:00 +0000 (Wed, 26 Jan 2005) New Revision: 1785 Modified: trunk/siesta/lib/Siesta/Test.pm Log: load the config in t/config for the module tests, not just the nacho ones Modified: trunk/siesta/lib/Siesta/Test.pm =================================================================== --- trunk/siesta/lib/Siesta/Test.pm 2005-01-26 13:37:42 UTC (rev 1784) +++ trunk/siesta/lib/Siesta/Test.pm 2005-01-26 22:06:00 UTC (rev 1785) @@ -9,11 +9,8 @@ mysql => [ 'dbi:mysql:siesta_test', 'root', undef ], sqlite => [ 'dbi:SQLite:t/test.db', '', '' ], ); + $config->load_from( 't/config' ); $config->storage( @{ $dbs{ $ENV{SIESTA_TEST_DB} || 'sqlite' } } ); - $config->messages( 'messages' ); - $config->archive( 't/root/archive' ); - $config->root( 't/root' ); - $config->log_path( 't/temp_error' ); } use Siesta::DBI; @@ -34,6 +31,7 @@ } require Siesta; Siesta->set_sender('Test'); + } 1;
Generated at 23:00 on 26 Jan 2005 by mariachi 0.52