Browse Source

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

Signed-off-by: crynobone <crynobone@gmail.com>
crynobone 10 years ago
parent
commit
e084583077
3 changed files with 5 additions and 3 deletions
  1. 3 1
      composer.json
  2. 1 1
      phpunit.xml
  3. 1 1
      tests/TestCase.php

+ 3 - 1
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": {

+ 1 - 1
phpunit.xml

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

+ 1 - 1
tests/TestCase.php

@@ -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';
 	}
 
 }