[contributions:chop] /modules/phpunit/lib/DrupalTest Bootstrap.php
User: chop Branch: HEAD Date: Tue, 24 Feb 2009 08:09:40 +0000 Modified files: /modules/phpunit/lib/DrupalTest Bootstrap.php Log message: Update the DrupalTest_Bootstrap class: - Ensure that Drupal's bootstrap can find the site specific settings.php file if in use i.e. 'sites/domain.name/settings.php', not just 'sites/default/settings.php'; - To account for accepted variations in Drupal's configuration, create a DrupalTest_Bootstrap constructor to search up the folder tree from the module install path, find the Drupal core base install path, and store it as a property that can be used again later; - Ensure that settings.php can be found when the PHP_SAPI is CLI and the PHP_OS is Windows based; - Update the method getTestDbInfo() so that it works when multiple database connections are defined, in addition to a 'default', as part of an array; - Disable the automatic backup and restore of the database as part of the bootstrap process. Links: http://cvs.drupal.org/diff.php?path=contributions/modules/phpunit/lib/Drupal...
participants (1)
-
drupal-cvs@drupal.org