Skip to content

Commit 121928e

Browse files
authored
Merge pull request #11 from SemanticMediaWiki/paladox-patch-1
Fix for MW 1.43
2 parents 426ce37 + 7912e26 commit 121928e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/phpunit/Unit/api/KnowledgeGraphApiLoadCategoriesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class KnowledgeGraphApiLoadCategoriesTest extends TestCase {
88
* @covers KnowledgeGraphApiLoadCategories::getExamplesMessages
99
*/
1010
public function testGetExamples() {
11-
$instance = new KnowledgeGraphApiLoadCategories( new ApiMain(), null );
11+
$instance = new KnowledgeGraphApiLoadCategories( new ApiMain(), '' );
1212
$messages = $instance->getExamplesMessages();
1313
$this->assertCount( 1, $messages );
1414
}

tests/phpunit/Unit/api/KnowledgeGraphApiLoadNodesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class KnowledgeGraphApiLoadNodesTest extends TestCase {
88
* @covers KnowledgeGraphApiLoadNodes::getExamplesMessages
99
*/
1010
public function testGetExamples() {
11-
$instance = new KnowledgeGraphApiLoadNodes( new ApiMain(), null );
11+
$instance = new KnowledgeGraphApiLoadNodes( new ApiMain(), '' );
1212
$messages = $instance->getExamplesMessages();
1313
$this->assertCount( 1, $messages );
1414
}

tests/phpunit/Unit/api/KnowledgeGraphApiLoadPropertiesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class KnowledgeGraphApiLoadPropertiesTest extends TestCase {
88
* @covers KnowledgeGraphApiLoadProperties::getExamplesMessages
99
*/
1010
public function testGetExamples() {
11-
$instance = new KnowledgeGraphApiLoadProperties( new ApiMain(), null );
11+
$instance = new KnowledgeGraphApiLoadProperties( new ApiMain(), '' );
1212
$messages = $instance->getExamplesMessages();
1313
$this->assertCount( 1, $messages );
1414
}

0 commit comments

Comments
 (0)