Expanded some tests.

This commit is contained in:
James Cole
2015-05-05 07:41:30 +02:00
parent 59d2bf3f79
commit f24cfe39aa
3 changed files with 48 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ class ReminderControllerTest extends TestCase
$reminder = FactoryMuffin::create('FireflyIII\Models\Reminder');
$collection = new Collection([$reminder]);
$repository = $this->mock('FireflyIII\Repositories\Reminder\ReminderRepositoryInterface\ReminderRepositoryInterface');
$repository = $this->mock('FireflyIII\Repositories\Reminder\ReminderRepositoryInterface');
$repository->shouldReceive('getActiveReminders')->andReturn($collection);
$repository->shouldReceive('getExpiredReminders')->andReturn($collection);