mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
This fixes the broken tests.
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
* Class BasicTest
|
||||
*/
|
||||
|
||||
/** @noinspection PhpUndefinedClassInspection */
|
||||
class BasicTest extends TestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -7,7 +7,7 @@ use FireflyIII\User;
|
||||
* Class TestCase
|
||||
*/
|
||||
|
||||
/** @noinspection PhpUndefinedClassInspection */
|
||||
|
||||
class TestCase extends Illuminate\Foundation\Testing\TestCase
|
||||
{
|
||||
/**
|
||||
|
@@ -11,7 +11,6 @@
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2016-01-19 at 15:40:28.
|
||||
*/
|
||||
|
||||
/** @noinspection PhpUndefinedClassInspection */
|
||||
class AuthControllerTest extends TestCase
|
||||
{
|
||||
|
||||
|
@@ -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());
|
||||
|
@@ -8,7 +8,6 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
/** @noinspection PhpUndefinedClassInspection */
|
||||
class HomeControllerTest extends TestCase
|
||||
{
|
||||
/**
|
||||
|
Reference in New Issue
Block a user