Commit 695ee019 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #2970 from crynobone/patch/phpunit

[Fixes] Move PHPUnit to require-dev and fixes directory references to tests.
parents cadc592e e0845830
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
"keywords": ["framework", "laravel"], "keywords": ["framework", "laravel"],
"license": "MIT", "license": "MIT",
"require": { "require": {
"laravel/framework": "4.3.*", "laravel/framework": "4.3.*"
},
"require-dev": {
"phpunit/phpunit": "~4.0" "phpunit/phpunit": "~4.0"
}, },
"autoload": { "autoload": {
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
> >
<testsuites> <testsuites>
<testsuite name="Application Test Suite"> <testsuite name="Application Test Suite">
<directory>./app/tests/</directory> <directory>./tests/</directory>
</testsuite> </testsuite>
</testsuites> </testsuites>
</phpunit> </phpunit>
...@@ -13,7 +13,7 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase { ...@@ -13,7 +13,7 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase {
$testEnvironment = 'testing'; $testEnvironment = 'testing';
return require __DIR__.'/../../bootstrap/start.php'; return require __DIR__.'/../bootstrap/start.php';
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment