Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added bootstrap.php file for phpunit

  • Loading branch information...
commit 64a5f40ef4234848956c9215ee3385a2a5558e7a 1 parent 58c4861
@willdurand willdurand authored
Showing with 8 additions and 0 deletions.
  1. +1 −0  phpunit.xml.dist
  2. +7 −0 test/bootstrap.php
View
1  phpunit.xml.dist
@@ -9,6 +9,7 @@
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
+ bootstrap="test/bootstrap.php"
>
<testsuites>
View
7 test/bootstrap.php
@@ -0,0 +1,7 @@
+<?php
+
+if (file_exists($file = dirname(__FILE__) . '/../vendor/.composer/autoload.php')) {
+ set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/../vendor/pear-phing');
+
+ require_once $file;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.