diff options
Diffstat (limited to 'tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php')
| -rw-r--r-- | tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php | 4 |
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'); |
