diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2011-05-19 07:38:35 +0200 | 
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2011-05-19 07:38:35 +0200 | 
| commit | ef23f01ebab448f10cb3935af4a2723f0e362c38 (patch) | |
| tree | 9d16e757b3e30daa38a0bed1eb276a8bb26b3ac6 /tests/prepare.php | |
| parent | e118a7d97b964a3146c35139da92d6514eb3b235 (diff) | |
| download | semanticscuttle-ef23f01ebab448f10cb3935af4a2723f0e362c38.tar.gz semanticscuttle-ef23f01ebab448f10cb3935af4a2723f0e362c38.tar.bz2 | |
begin supporting a different database for unit tests
Diffstat (limited to 'tests/prepare.php')
| -rw-r--r-- | tests/prepare.php | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/tests/prepare.php b/tests/prepare.php index c80306e..ea4d77d 100644 --- a/tests/prepare.php +++ b/tests/prepare.php @@ -22,7 +22,7 @@ $_SERVER['HTTP_HOST'] = 'http://localhost/';  define('UNIT_TEST_MODE', true);  if ('@data_dir@' == '@' . 'data_dir@') { -    //non pear-install +    //non pear-installation (i.e. git checkout)      require_once dirname(__FILE__) . '/../src/SemanticScuttle/header.php';  } else {      //pear installation; files are in include path @@ -35,7 +35,7 @@ if ($GLOBALS['debugMode'] == true      && $GLOBALS['dbtype'] == 'mysql4'  ) {      echo "\n" -        . '!!! The combination of debugMode and dbtype==mysql4' +        . '!! The combination of debugMode and dbtype==mysql4'          . ' will wreck some tests' . "\n\n";  }  ?>
\ No newline at end of file | 
