Skip to content

Commit

Permalink
Define JPATH_ROOT in phpunit.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
dongilbert committed Feb 9, 2014
1 parent ebcd063 commit cfa98f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 33 deletions.
32 changes: 0 additions & 32 deletions Tests/bootstrap.php

This file was deleted.

1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -8,6 +8,7 @@
"require": {
"php": ">=5.3.10",
"joomla/input": "~1.0",
"joomla/event": "~1.0",
"joomla/session": "~1.0",
"joomla/string": "~1.0",
"joomla/registry": "~1.0",
Expand Down
5 changes: 4 additions & 1 deletion phpunit.xml.dist
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="Tests/bootstrap.php" colors="false">
<phpunit bootstrap="vendor/autoload.php" colors="false">
<testsuites>
<testsuite name="Unit">
<directory>Tests</directory>
</testsuite>
</testsuites>
<php>
<const name="JPATH_ROOT" value="__DIR__" />
</php>
</phpunit>

0 comments on commit cfa98f8

Please sign in to comment.