From 39ca88ba08cefcfcaf891abfcf748f9c808eb326 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Fri, 15 Feb 2019 21:08:11 +0000 Subject: Rename functions getFoo() to foo() and return collections instead of arrays --- tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/app/Census/CensusColumnMotherBirthPlaceSimpleTest.php') 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'); -- cgit v1.3