summaryrefslogtreecommitdiff
path: root/tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-02-15 21:08:11 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-02-16 14:26:05 +0000
commit39ca88ba08cefcfcaf891abfcf748f9c808eb326 (patch)
tree09fb6844b1e44eeb1755671f00317f914644231b /tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php
parent888ddf4f75ad7e5e5b322ccfa329fb24ddc9af04 (diff)
downloadwebtrees-39ca88ba08cefcfcaf891abfcf748f9c808eb326.tar.gz
webtrees-39ca88ba08cefcfcaf891abfcf748f9c808eb326.tar.bz2
webtrees-39ca88ba08cefcfcaf891abfcf748f9c808eb326.zip
Rename functions getFoo() to foo() and return collections instead of arrays
Diffstat (limited to 'tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php')
-rw-r--r--tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php b/tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php
index 19e0a0fb53..3e2543a8ba 100644
--- a/tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php
+++ b/tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php
@@ -68,10 +68,10 @@ class CensusColumnMotherBirthPlaceSimpleTest extends \Fisharebest\Webtrees\TestC
$father->shouldReceive('getBirthPlace')->andReturn($this->getPlaceMock('Miami, Florida, United States'));
$family = Mockery::mock(Family::class);
- $family->shouldReceive('getWife')->andReturn($father);
+ $family->shouldReceive('wife')->andReturn($father);
$individual = Mockery::mock(Individual::class);
- $individual->shouldReceive('getPrimaryChildFamily')->andReturn($family);
+ $individual->shouldReceive('primaryChildFamily')->andReturn($family);
$census = Mockery::mock(CensusInterface::class);
$census->shouldReceive('censusPlace')->andReturn('United States');