Skip to content

Instantly share code, notes, and snippets.

View permanovd's full-sized avatar

permanovd

  • Saint-Petersburg, Russia
View GitHub Profile
@permanovd
permanovd / drupal-7--bootstrap--phpunit.php
Last active November 2, 2017 20:34 — forked from yann-yinn/drupal-7--bootstrap--phpunit.php
Drupal 7 bootstrap for php unit
<?php
/**
* Script to bootstrap Drupal 7 for PHPUnit tests.
* On multisite installation, set $http_host variable
* to the site you want to test.
*
* Put this file into drupal root directory and
* and specify it in phpunit.xml file.
*/