From 0afe3c48a193b7370d4987dda0cae7bbe0f6d72b Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 18 Nov 2014 10:18:50 +0100 Subject: [PATCH] Fixed some things so coveralls will fire. --- app/tests/AccountControllerTest.php | 20 ++++++++++------- app/tests/TestCase.php | 34 +++-------------------------- composer.json | 3 ++- 3 files changed, 17 insertions(+), 40 deletions(-) diff --git a/app/tests/AccountControllerTest.php b/app/tests/AccountControllerTest.php index dbc9a98d18..cb772a8f28 100644 --- a/app/tests/AccountControllerTest.php +++ b/app/tests/AccountControllerTest.php @@ -1,4 +1,5 @@ markTestIncomplete( 'This test has not been implemented yet.' @@ -120,4 +116,12 @@ class AccountControllerTest extends TestCase 'This test has not been implemented yet.' ); } + + /** + * Tears down the fixture, for example, closes a network connection. + * This method is called after a test is executed. + */ + protected function tearDown() + { + } } diff --git a/app/tests/TestCase.php b/app/tests/TestCase.php index 872cc48bcc..08770a901e 100644 --- a/app/tests/TestCase.php +++ b/app/tests/TestCase.php @@ -1,12 +1,9 @@ app->instance($class, $mock); - - return $mock; - } - -} +} \ No newline at end of file diff --git a/composer.json b/composer.json index e8da70cfde..d1f65f2539 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,8 @@ "require-dev": { "barryvdh/laravel-debugbar": "@stable", "barryvdh/laravel-ide-helper": "@stable", - "doctrine/dbal": "~2.3" + "doctrine/dbal": "~2.3", + "satooshi/php-coveralls": "dev-master" }, "autoload": { "classmap": [