Skip to content

Commit

Permalink
Merge pull request #11 from SemanticMediaWiki/paladox-patch-1
Browse files Browse the repository at this point in the history
Fix for MW 1.43
  • Loading branch information
jaideraf authored Jan 16, 2025
2 parents 426ce37 + 7912e26 commit 121928e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class KnowledgeGraphApiLoadCategoriesTest extends TestCase {
* @covers KnowledgeGraphApiLoadCategories::getExamplesMessages
*/
public function testGetExamples() {
$instance = new KnowledgeGraphApiLoadCategories( new ApiMain(), null );
$instance = new KnowledgeGraphApiLoadCategories( new ApiMain(), '' );
$messages = $instance->getExamplesMessages();
$this->assertCount( 1, $messages );
}
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/Unit/api/KnowledgeGraphApiLoadNodesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class KnowledgeGraphApiLoadNodesTest extends TestCase {
* @covers KnowledgeGraphApiLoadNodes::getExamplesMessages
*/
public function testGetExamples() {
$instance = new KnowledgeGraphApiLoadNodes( new ApiMain(), null );
$instance = new KnowledgeGraphApiLoadNodes( new ApiMain(), '' );
$messages = $instance->getExamplesMessages();
$this->assertCount( 1, $messages );
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class KnowledgeGraphApiLoadPropertiesTest extends TestCase {
* @covers KnowledgeGraphApiLoadProperties::getExamplesMessages
*/
public function testGetExamples() {
$instance = new KnowledgeGraphApiLoadProperties( new ApiMain(), null );
$instance = new KnowledgeGraphApiLoadProperties( new ApiMain(), '' );
$messages = $instance->getExamplesMessages();
$this->assertCount( 1, $messages );
}
Expand Down

0 comments on commit 121928e

Please sign in to comment.