summaryrefslogtreecommitdiff
path: root/tests/app/Module/CzechMonarchsAndPresidentsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app/Module/CzechMonarchsAndPresidentsTest.php')
-rw-r--r--tests/app/Module/CzechMonarchsAndPresidentsTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/app/Module/CzechMonarchsAndPresidentsTest.php b/tests/app/Module/CzechMonarchsAndPresidentsTest.php
index 7ec33fb14b..d2b064d49a 100644
--- a/tests/app/Module/CzechMonarchsAndPresidentsTest.php
+++ b/tests/app/Module/CzechMonarchsAndPresidentsTest.php
@@ -33,8 +33,8 @@ class CzechMonarchsAndPresidentsTest extends TestCase
$individual = $this->createMock(Individual::class);
- foreach ($module->historicEventsAll(language_tag: 'cs') as $gedcom) {
- $fact = new Fact(gedcom: $gedcom, parent: $individual, id: 'test');
+ foreach ($module->historicEventsAll('cs') as $gedcom) {
+ $fact = new Fact($gedcom, $individual, 'test');
self::assertTrue($fact->date()->isOK(), 'No date found in: ' . $gedcom);
}
}