Skip to content

Commit

Permalink
Prep tests for running from clone of repo
Browse files Browse the repository at this point in the history
  • Loading branch information
saltybeagle committed Dec 3, 2013
1 parent 4dc2a02 commit 4394c1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/tests.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

// ensure that errors will be printed
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors',true);
ini_set('display_errors', true);
set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__ . '/../src/');

// uncomment this when package won't be in the SandBox anymore
// $basedir = __DIR__ . '/../..';
$basedir = dirname(__FILE__) . '/../../..';
$basedir = __DIR__ . '/..';
//$basedir = dirname(__FILE__) . '/../../..';

require_once $basedir . '/autoload.php';

Expand Down

0 comments on commit 4394c1f

Please sign in to comment.