Revision fa718a2c
Added by Andreas Kohlbecker over 4 years ago
modules/cdm_dataportal/test/phpUnit/bootstrap.php | ||
---|---|---|
6 | 6 |
|
7 | 7 |
// TestUtils.php must be included at the very first step |
8 | 8 |
|
9 |
module_load_include('php', 'bootstrap', 'estUtils'); |
|
9 |
module_load_include('php', 'bootstrap', 'TestUtils');
|
|
10 | 10 |
|
11 | 11 |
if (empty($_ENV['DRUPAL_ROOT'])) { |
12 |
print('environment variable "DRUPAL_ROOT" mnust point to the root of the Drupal installation.');
|
|
12 |
print('environment variable "DRUPAL_ROOT" must point to the root of the Drupal installation.'); |
|
13 | 13 |
exit(-1); |
14 | 14 |
} |
15 | 15 |
chdir($_ENV['DRUPAL_ROOT']); // cd to {DRUPAL_ROOT} |
Also available in: Unified diff
fixing PHPUnit setup for php 7 and documenting its usage with PHPStorm