diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2010-03-26 17:37:01 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2010-03-26 17:37:01 +0100 |
commit | a7581085e002035ab5c516fe91fe4ece57087267 (patch) | |
tree | f551277f752608d73148b5df4e9bdc885b45e508 /tests/test_framework/phpbb_test_case_helpers.php | |
parent | af654814f63e05be5236075f06943062be007072 (diff) | |
download | forums-a7581085e002035ab5c516fe91fe4ece57087267.tar forums-a7581085e002035ab5c516fe91fe4ece57087267.tar.gz forums-a7581085e002035ab5c516fe91fe4ece57087267.tar.bz2 forums-a7581085e002035ab5c516fe91fe4ece57087267.tar.xz forums-a7581085e002035ab5c516fe91fe4ece57087267.zip |
[feature/dbal-tests] Load phpbb-schema after creating the connection to the database
Diffstat (limited to 'tests/test_framework/phpbb_test_case_helpers.php')
-rw-r--r-- | tests/test_framework/phpbb_test_case_helpers.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test_framework/phpbb_test_case_helpers.php b/tests/test_framework/phpbb_test_case_helpers.php index 27a730e2dd..f9ab750218 100644 --- a/tests/test_framework/phpbb_test_case_helpers.php +++ b/tests/test_framework/phpbb_test_case_helpers.php @@ -23,13 +23,16 @@ class phpbb_test_case_helpers if (!file_exists('test_config.php')) { trigger_error("You have to create a test_config.php like this: -<?php +\"<?php $dbms = 'mysqli'; $dbhost = 'localhost'; $dbport = ''; $dbname = 'database'; $dbuser = 'user'; -$dbpasswd = 'password';", E_USER_ERROR); +$dbpasswd = 'password'; +\" + +NOTE: The database is dropped and recreated with the phpbb-db-schema! Do NOT specify a database with important data.", E_USER_ERROR); } include('test_config.php'); |