Skip to content
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.

Commit

Permalink
Defining BOX_PATH in bootstrap for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
kherge committed Mar 18, 2013
1 parent 1e884a6 commit c9efc35
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion phpunit.xml.dist
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="true"
backupStaticAttributes="false"
bootstrap="src/vendors/autoload.php"
bootstrap="src/tests/bootstrap.php"
colors="true"
stopOnError="false"
stopOnFailure="false"
Expand Down
5 changes: 5 additions & 0 deletions src/tests/bootstrap.php
@@ -0,0 +1,5 @@
<?php

require __DIR__ .'/../vendors/autoload.php';

define('BOX_PATH', realpath(__DIR__) . '/../..');

0 comments on commit c9efc35

Please sign in to comment.