Move PHPUnit to require-dev and fixes directory references to tests.

Signed-off-by: crynobone <crynobone@gmail.com>
This commit is contained in:
crynobone 2014-08-20 19:36:09 +08:00
parent cadc592ee2
commit e084583077
3 changed files with 5 additions and 3 deletions

View File

@ -4,7 +4,9 @@
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"laravel/framework": "4.3.*",
"laravel/framework": "4.3.*"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"autoload": {

View File

@ -12,7 +12,7 @@
>
<testsuites>
<testsuite name="Application Test Suite">
<directory>./app/tests/</directory>
<directory>./tests/</directory>
</testsuite>
</testsuites>
</phpunit>

View File

@ -13,7 +13,7 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase {
$testEnvironment = 'testing';
return require __DIR__.'/../../bootstrap/start.php';
return require __DIR__.'/../bootstrap/start.php';
}
}