[Bps-public-commit] r11366 - DBIx-SearchBuilder/trunk/t

ruz at bestpractical.com ruz at bestpractical.com
Tue Apr 1 22:48:32 EDT 2008


Author: ruz
Date: Tue Apr  1 22:48:32 2008
New Revision: 11366

Modified:
   DBIx-SearchBuilder/trunk/t/utils.pl

Log:
* allow to use SB_TEST_ORACLE, SB_TEST_ORACLE_SID, SB_TEST_ORACLE_HOST

Modified: DBIx-SearchBuilder/trunk/t/utils.pl
==============================================================================
--- DBIx-SearchBuilder/trunk/t/utils.pl	(original)
+++ DBIx-SearchBuilder/trunk/t/utils.pl	Tue Apr  1 22:48:32 2008
@@ -131,9 +131,11 @@
 	my $handle = shift;
 	return $handle->Connect(
 		Driver   => 'Oracle',
-#		Database => $ENV{'SB_TEST_ORACLE'},
+		Database => $ENV{'SB_TEST_ORACLE'},
+		Host     => $ENV{'SB_TEST_ORACLE_HOST'},
+		SID      => $ENV{'SB_TEST_ORACLE_SID'},
 		User     => $ENV{'SB_TEST_ORACLE_USER'} || 'test',
-		Password => $ENV{'SB_TEST_RACLE_PASS'} || 'test',
+		Password => $ENV{'SB_TEST_ORACLE_PASS'} || 'test',
     );
 }
 



More information about the Bps-public-commit mailing list