summaryrefslogtreecommitdiff
path: root/tests/app/Census/CensusColumnChildrenBornAliveTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Census/CensusColumnChildrenBornAliveTest.php')
-rw-r--r--tests/app/Census/CensusColumnChildrenBornAliveTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/app/Census/CensusColumnChildrenBornAliveTest.php b/tests/app/Census/CensusColumnChildrenBornAliveTest.php
index a55165f557..2acba8ac4f 100644
--- a/tests/app/Census/CensusColumnChildrenBornAliveTest.php
+++ b/tests/app/Census/CensusColumnChildrenBornAliveTest.php
@@ -85,12 +85,12 @@ class CensusColumnChildrenBornAliveTest extends \Fisharebest\Webtrees\TestCase
$child4->shouldReceive('getDeathDate')->andReturn(new Date(''));
$family = Mockery::mock(Family::class);
- $family->shouldReceive('children')->andReturn([
+ $family->shouldReceive('children')->andReturn(new Collection([
$child1,
$child2,
$child3,
$child4,
- ]);
+ ]));
$individual = Mockery::mock(Individual::class);
$individual->shouldReceive('sex')->andReturn('F');