⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-pear
/
pear
/
docs
/
Horde_Db
/
Edit File: README_TESTING
===================== Horde/Db Test Suite ===================== :Authors: Chuck Hagenbuch :Authors: Jan Schneider :Contact: dev@lists.horde.org .. contents:: Contents .. section-numbering:: Defining adapters ================= As long as PHP has the PDO SQLite driver (which is enabled by default), the 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 the configuration file conf.php, with an example configuration found at the conf.php.dist file, or for environment variables 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: {"username":"horde_db","dbname":"test","host":"localhost"} When running the test suite, any adapter for which a DSN is not found, or for which connecting to the defined DSN fails, a single instance of Horde_Db_Adapter_MissingTest will be included in the test suite run, with details on why the adapter was skipped.
Simpan