Compare commits
No commits in common. "39362f537aeaca8fec2fe4cef776cb30b5cbe0f2" and "ef43270fb250a66eb578bc4a477eb0b6ad9488d3" have entirely different histories.
39362f537a
...
ef43270fb2
@ -745,7 +745,7 @@ final class NodaWikidataFetcher {
|
||||
$languagesToFetch = $wikilinks = [];
|
||||
foreach ($checkagainstLanguage as $lang) {
|
||||
|
||||
if (empty($data['labels']) || empty($data['labels'][$lang])) {
|
||||
if (empty($data['labels'][$lang])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@ require_once __DIR__ . '/../../MDMysqli/test_connections.conf.php';
|
||||
final class NodaWikidataFetcherTest extends TestCase {
|
||||
|
||||
// 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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user