Moved unit tests

This commit is contained in:
Alex Bilbie 2014-07-22 09:23:00 +01:00
parent ca61d5d4e0
commit f40ada9ac7
25 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@
}, },
"autoload-dev": { "autoload-dev": {
"psr-4": { "psr-4": {
"LeagueTests\\": "tests/" "LeagueTests\\": "tests/unit/"
} }
}, },
"extra": { "extra": {

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnError="true" stopOnFailure="true" stopOnIncomplete="false" stopOnSkipped="false" bootstrap="tests/Bootstrap.php"> <phpunit colors="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnError="true" stopOnFailure="true" stopOnIncomplete="false" stopOnSkipped="false" bootstrap="tests/unit/Bootstrap.php">
<testsuites> <testsuites>
<testsuite name="Tests"> <testsuite name="Tests">
<directory>./tests/</directory> <directory>./tests/unit/</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
<filter> <filter>

View File

@ -1,5 +1,5 @@
<?php <?php
if (! @include_once __DIR__ . '/../vendor/autoload.php') { if (! @include_once __DIR__ . '/../../vendor/autoload.php') {
exit("You must set up the project dependencies, run the following commands:\n> wget http://getcomposer.org/composer.phar\n> php composer.phar install\n"); exit("You must set up the project dependencies, run the following commands:\n> wget http://getcomposer.org/composer.phar\n> php composer.phar install\n");
} }