Browse Source

Make variable replacement possible

Maurits van der Schee 6 years ago
parent
commit
c5e0074341
1 changed files with 16 additions and 16 deletions
  1. 16
    16
      tests/Config.php.dist

+ 16
- 16
tests/Config.php.dist View File

@@ -11,29 +11,29 @@ class Config
11 11
      */
12 12
     public static $config = array(
13 13
         'MySQL' => array(
14
-            'hostname' => '{{test_hostname}}',  // 'localhost' for MySQL, '(Local)' for SQLServer, empty for SQLite
15
-            'username' => '{{test_username}}',  // May be empty on SQLServer or SQLite
16
-            'password' => '{{test_password}}',  // May be empty on SQLServer or SQLite
17
-            'database' => '{{test_database}}',  // NB: Use an empty database, data will be LOST!
14
+            'hostname' => '{{mysql_hostname}}',  // 'localhost' for MySQL, '(Local)' for SQLServer, empty for SQLite
15
+            'username' => '{{mysql_username}}',  // May be empty on SQLServer or SQLite
16
+            'password' => '{{mysql_password}}',  // May be empty on SQLServer or SQLite
17
+            'database' => '{{mysql_database}}',  // NB: Use an empty database, data will be LOST!
18 18
         ),
19 19
         /* Uncomment and update for any databases you want to use.
20 20
         'PostgreSQL' => array(
21
-            'hostname' => '{{test_hostname}}',
22
-            'username' => '{{test_username}}',
23
-            'password' => '{{test_password}}',
24
-            'database' => '{{test_database}}',
21
+            'hostname' => '{{pgsql_hostname}}',
22
+            'username' => '{{pgsql_username}}',
23
+            'password' => '{{pgsql_password}}',
24
+            'database' => '{{pgsql_database}}',
25 25
         ),
26 26
         'SQLite' => array(
27
-            'hostname' => '{{test_hostname}}',
28
-            'username' => '{{test_username}}',
29
-            'password' => '{{test_password}}',
30
-            'database' => '{{test_database}}',
27
+            'hostname' => '{{sqlite_hostname}}',
28
+            'username' => '{{sqlite_username}}',
29
+            'password' => '{{sqlite_password}}',
30
+            'database' => '{{sqlite_database}}',
31 31
         ),
32 32
         'SQLServer' => array(
33
-            'hostname' => '{{test_hostname}}',
34
-            'username' => '{{test_username}}',
35
-            'password' => '{{test_password}}',
36
-            'database' => '{{test_database}}',
33
+            'hostname' => '{{sqlsrv_hostname}}',
34
+            'username' => '{{sqlsrv_username}}',
35
+            'password' => '{{sqlsrv_password}}',
36
+            'database' => '{{sqlsrv_database}}',
37 37
         ),
38 38
         */
39 39
     );

Loading…
Cancel
Save