-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.test.php
29 lines (25 loc) · 1.03 KB
/
config.test.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/* -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/**
* The project configuration file for unit testing.
*
* It configures all the apps in your project.
*
*/
$base_conf = include __DIR__ . '/config.php';
$test_conf = array(
'debug' => true,
// NEVER EVER USE YOUR PRODUCTION DATABASE TO RUN
// YOUR UNIT TESTS OR YOUR CONTINUOUS INTEGRATION
// SERVER.
// AGAIN, NEVER EVER USE YOUR PRODUCTION DATABASE
// FOR UNIT TESTING OR YOU WILL END UP DROPPING
// YOUR PRODUCTION DATABASE AND ALL YOUR CUSTOMER
// DATA WILL BE LOST.
'db_login' => 'testuser',
'db_password' => 'testpassword',
'db_server' => '127.0.0.1',
'db_database' => 'testdatabase',
'db_engine' => 'WhateverIsYourEngine',
);
return array_merge($base_conf, $test_conf);