diff options
Diffstat (limited to 'tests/app/Census/CensusColumnOccupationTest.php')
| -rw-r--r-- | tests/app/Census/CensusColumnOccupationTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/app/Census/CensusColumnOccupationTest.php b/tests/app/Census/CensusColumnOccupationTest.php index a7e16b07d2..c889e3d250 100644 --- a/tests/app/Census/CensusColumnOccupationTest.php +++ b/tests/app/Census/CensusColumnOccupationTest.php @@ -43,7 +43,7 @@ class CensusColumnOccupationTest extends \Fisharebest\Webtrees\TestCase public function testNoOccupation() { $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); - $individual->shouldReceive('getFacts')->withArgs(['OCCU'])->andReturn([]); + $individual->shouldReceive('facts')->withArgs(['OCCU'])->andReturn([]); $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); @@ -64,7 +64,7 @@ class CensusColumnOccupationTest extends \Fisharebest\Webtrees\TestCase $fact->shouldReceive('value')->andReturn('Farmer'); $individual = Mockery::mock('Fisharebest\Webtrees\Individual'); - $individual->shouldReceive('getFacts')->withArgs(['OCCU'])->andReturn([$fact]); + $individual->shouldReceive('facts')->withArgs(['OCCU'])->andReturn([$fact]); $census = Mockery::mock('Fisharebest\Webtrees\Census\CensusInterface'); |
