Compare commits

..

No commits in common. "39362f537aeaca8fec2fe4cef776cb30b5cbe0f2" and "ef43270fb250a66eb578bc4a477eb0b6ad9488d3" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -745,7 +745,7 @@ final class NodaWikidataFetcher {
$languagesToFetch = $wikilinks = []; $languagesToFetch = $wikilinks = [];
foreach ($checkagainstLanguage as $lang) { foreach ($checkagainstLanguage as $lang) {
if (empty($data['labels']) || empty($data['labels'][$lang])) { if (empty($data['labels'][$lang])) {
continue; continue;
} }

View File

@ -20,7 +20,7 @@ require_once __DIR__ . '/../../MDMysqli/test_connections.conf.php';
final class NodaWikidataFetcherTest extends TestCase { final class NodaWikidataFetcherTest extends TestCase {
// Test for getting translations: Telugu // Test for getting translations: Telugu
public const TEST_LANG = 'te'; private const TEST_LANG = 'te';
/** /**
* Test to check whether the HTML page is correctly generated. * Test to check whether the HTML page is correctly generated.