From 03b7a037d39d9887dd6b6ba249e01f927404acc1 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Tue, 2 Nov 2010 20:21:50 -0400 Subject: [PATCH] Fix env variable names --- framework/Db/doc/README.TESTING.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/Db/doc/README.TESTING.txt b/framework/Db/doc/README.TESTING.txt index 1a03a7407..f6880dc7d 100644 --- a/framework/Db/doc/README.TESTING.txt +++ b/framework/Db/doc/README.TESTING.txt @@ -17,9 +17,9 @@ SQLite tests will always be run. This is possible using the sqlite:memory database; no file access or permissions are required. For the other adapters, the Horde_Db test suite looks for environment variables -named HORDE_DB_TEST_DSN_$driverName. For the MySQLi driver, that would be -HORDE_DB_TEST_DSN_MYSQLI. For the PDO PostgreSQL driver, that would be -Horde_DB_TEST_DSN_PDO_PGSQL, and so on. The value of the environment variable is +named DB_ADAPTER_$driverName_TEST_CONFIG. For the MySQLi driver, that would be +DB_ADAPTER_MYSQLI_TEST_CONFIG. For the PDO PostgreSQL driver, that would be +DB_ADAPTER_PDO_PGSQL_TEST_CONFIG, and so on. The value of the environment variable is a JSON string with the configuration array for the adapter. Here is an example for setting up a test DSN for the MySQL test database on localhost, connecting as the user horde_db with no password: -- 2.11.0