This fixes the broken tests.

This commit is contained in:
James Cole
2016-02-10 12:01:45 +01:00
parent 5974bdcc2a
commit bc67113d77
9 changed files with 6 additions and 8 deletions

View File

@@ -4,7 +4,6 @@
* Class BasicTest
*/
/** @noinspection PhpUndefinedClassInspection */
class BasicTest extends TestCase
{
/**

View File

@@ -7,7 +7,7 @@ use FireflyIII\User;
* Class TestCase
*/
/** @noinspection PhpUndefinedClassInspection */
class TestCase extends Illuminate\Foundation\Testing\TestCase
{
/**

View File

@@ -11,7 +11,6 @@
* Generated by PHPUnit_SkeletonGenerator on 2016-01-19 at 15:40:28.
*/
/** @noinspection PhpUndefinedClassInspection */
class AuthControllerTest extends TestCase
{

View File

@@ -24,7 +24,7 @@ class ChartBudgetControllerTest extends TestCase
{
$repository = $this->mock('FireflyIII\Repositories\Budget\BudgetRepositoryInterface');
$repository->shouldReceive('getExpensesPerMonth')->once()->andReturn(new Collection([new Budget]));
$repository->shouldReceive('spentPerDay')->once()->andReturn([]);
$repository->shouldReceive('getFirstBudgetLimitDate')->once()->andReturn(new Carbon);
$this->be($this->user());

View File

@@ -8,7 +8,6 @@
* of the MIT license. See the LICENSE file for details.
*/
/** @noinspection PhpUndefinedClassInspection */
class HomeControllerTest extends TestCase
{
/**