summaryrefslogtreecommitdiff
path: root/tests/app/FactTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/FactTest.php')
-rw-r--r--tests/app/FactTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/app/FactTest.php b/tests/app/FactTest.php
index a45dbb3a05..fb6ba99d7f 100644
--- a/tests/app/FactTest.php
+++ b/tests/app/FactTest.php
@@ -29,7 +29,7 @@ class FactTest extends TestCase
public function testAttribute(): void
{
- $individual = $this->createStub(Individual::class);
+ $individual = $this->createMock(Individual::class);
$individual->method('tag')->willReturn('INDI');
$fact = new Fact("1 BIRT\n2 ADDR address", $individual, '');
@@ -44,7 +44,7 @@ class FactTest extends TestCase
*/
public function testIssue4417(): void
{
- $individual = $this->createStub(Individual::class);
+ $individual = $this->createMock(Individual::class);
$individual->method('tag')->willReturn('INDI');
$fact = new Fact("1 BIRT\n2 PLACXYZ\n3 CONT place", $individual, '');