From e084583077a781f6f0792af649a2ab7d2b37404c Mon Sep 17 00:00:00 2001 From: crynobone Date: Wed, 20 Aug 2014 19:36:09 +0800 Subject: [PATCH] Move PHPUnit to require-dev and fixes directory references to tests. Signed-off-by: crynobone --- composer.json | 4 +++- phpunit.xml | 2 +- tests/TestCase.php | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 0e4084f1..f4990e9a 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/phpunit.xml b/phpunit.xml index c3304205..8745dfab 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -12,7 +12,7 @@ > - ./app/tests/ + ./tests/ diff --git a/tests/TestCase.php b/tests/TestCase.php index d367fe53..2d342939 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -13,7 +13,7 @@ public function createApplication() $testEnvironment = 'testing'; - return require __DIR__.'/../../bootstrap/start.php'; + return require __DIR__.'/../bootstrap/start.php'; } }