summaryrefslogtreecommitdiff
path: root/tests/app/Census/CensusColumnReligionTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Census/CensusColumnReligionTest.php')
-rw-r--r--tests/app/Census/CensusColumnReligionTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/app/Census/CensusColumnReligionTest.php b/tests/app/Census/CensusColumnReligionTest.php
index 9120a07822..8e6da82e68 100644
--- a/tests/app/Census/CensusColumnReligionTest.php
+++ b/tests/app/Census/CensusColumnReligionTest.php
@@ -47,7 +47,7 @@ class CensusColumnReligionTest extends TestCase
public function testRecordReligion(): void
{
- $individual = self::createStub(Individual::class);
+ $individual = $this->createMock(Individual::class);
$fact = self::createStub(Fact::class);
$fact->method('value')->willReturn('Jedi');
$individual->method('facts')->with(['RELI'])->willReturn(new Collection([$fact]));
@@ -62,7 +62,7 @@ class CensusColumnReligionTest extends TestCase
public function testEventReligion(): void
{
$individual = $this->createMock(Individual::class);
- $fact = self::createStub(Fact::class);
+ $fact = $this->createMock(Fact::class);
$fact->method('attribute')->with('RELI')->willReturn('Jedi');
$individual
->expects($this->exactly(2))