mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Move PHPUnit to require-dev and fixes directory references to tests.
Signed-off-by: crynobone <crynobone@gmail.com>
This commit is contained in:
parent
cadc592ee2
commit
e084583077
@ -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": {
|
||||
|
@ -12,7 +12,7 @@
|
||||
>
|
||||
<testsuites>
|
||||
<testsuite name="Application Test Suite">
|
||||
<directory>./app/tests/</directory>
|
||||
<directory>./tests/</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
||||
|
@ -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';
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user