Add a warning to prevent accidents (#65)

This commit is contained in:
wadih
2020-07-08 22:19:59 -04:00
committed by GitHub
parent 30c7343bae
commit 031901f8b6

View File

@@ -28,6 +28,7 @@ ini_set('date.timezone', 'America/Los_Angeles');
error_reporting(E_ALL | E_STRICT); error_reporting(E_ALL | E_STRICT);
require_once '../db.class.php'; require_once '../db.class.php';
include 'test_setup.php'; //test config values go here include 'test_setup.php'; //test config values go here
// WARNING: ALL tables in the database will be dropped before the tests, including non-test related tables.
DB::$user = $set_db_user; DB::$user = $set_db_user;
DB::$password = $set_password; DB::$password = $set_password;
DB::$dbName = $set_db; DB::$dbName = $set_db;