mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-16 14:48:11 +00:00
Update some tests.
This commit is contained in:
@@ -83,7 +83,8 @@ class RecurrenceTransformerTest extends TestCase
|
||||
// default calls:
|
||||
$recurrenceRepos->shouldReceive('getNoteText')->once()->andReturn('Hi there');
|
||||
$recurrenceRepos->shouldReceive('repetitionDescription')->once()->andReturn('Rep descr');
|
||||
$recurrenceRepos->shouldReceive('getXOccurrences')->andReturn($ranges)->atLeast()->once();
|
||||
//$recurrenceRepos->shouldReceive('getXOccurrences')->andReturn($ranges)->atLeast()->once();
|
||||
$recurrenceRepos->shouldReceive('getXOccurrencesSince')->andReturn($ranges)->atLeast()->once();
|
||||
$factory->shouldReceive('findOrCreate')->atLeast()->once()->withArgs([null, Mockery::any()])->andReturn($category);
|
||||
$budgetRepos->shouldReceive('findNull')->atLeast()->once()->andReturn($budget);
|
||||
$piggyRepos->shouldReceive('findNull')->andReturn($piggy);
|
||||
|
||||
Reference in New Issue
Block a user