summaryrefslogtreecommitdiff
path: root/tests/app/Module/AustrianPresidentsTest.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/AustrianPresidentsTest.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/AustrianPresidentsTest.php')
-rw-r--r--tests/app/Module/AustrianPresidentsTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/app/Module/AustrianPresidentsTest.php b/tests/app/Module/AustrianPresidentsTest.php
index 0ecad4ee39..afee0cf6f7 100644
--- a/tests/app/Module/AustrianPresidentsTest.php
+++ b/tests/app/Module/AustrianPresidentsTest.php
@@ -31,7 +31,7 @@ class AustrianPresidentsTest extends TestCase
{
$module = new AustrianPresidents();
- $individual = $this->createStub(Individual::class);
+ $individual = self::createStub(Individual::class);
foreach ($module->historicEventsAll('de') as $gedcom) {
$fact = new Fact($gedcom, $individual, 'test');