summaryrefslogtreecommitdiff
path: root/tests/app/Module/USPresidentsTest.php
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2025-12-28 18:32:37 +0000
committerGreg Roach <greg@subaqua.co.uk>2025-12-28 18:32:44 +0000
commitf8346c42093ef55bbe7e4bdcb0319a30638a6e12 (patch)
tree888cd8aaa1022da27a5d5e36f6caa8488f1fe5ff /tests/app/Module/USPresidentsTest.php
parentb094da64a7219ac63c0d2da63d5f935a9063e22f (diff)
downloadwebtrees-f8346c42093ef55bbe7e4bdcb0319a30638a6e12.tar.gz
webtrees-f8346c42093ef55bbe7e4bdcb0319a30638a6e12.tar.bz2
webtrees-f8346c42093ef55bbe7e4bdcb0319a30638a6e12.zip
Fix: createStub is a static method, assertSame/assertCount are dynamic methods
Diffstat (limited to 'tests/app/Module/USPresidentsTest.php')
-rw-r--r--tests/app/Module/USPresidentsTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/app/Module/USPresidentsTest.php b/tests/app/Module/USPresidentsTest.php
index 5ebcdf5e1a..fc4874d66e 100644
--- a/tests/app/Module/USPresidentsTest.php
+++ b/tests/app/Module/USPresidentsTest.php
@@ -31,7 +31,7 @@ class USPresidentsTest extends TestCase
{
$module = new USPresidents();
- $individual = $this->createStub(Individual::class);
+ $individual = self::createStub(Individual::class);
foreach ($module->historicEventsAll('en-US') as $gedcom) {
$fact = new Fact($gedcom, $individual, 'test');