There were 12 errors:
1) GeoData\GeoFeatureTest::testParseDistance with data set "unknown units returns null" (null, '100fur')
Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait
/srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122
/srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
===
2) GeoData\GeoFeatureTest::testParseDistance with data set "gibberish returns null" (null, 'gibberish')
Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait
/srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122
/srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
===
3) GeoData\GeoFeatureTest::testParseDistance with data set "no space allowed between numbers and units" (null, '100 m')
Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait
/srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122
/srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
===
4) GeoData\GeoFeatureTest::testParseDistance with data set "meters" (100, '100m')
Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait
/srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122
/srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
===
5) GeoData\GeoFeatureTest::testParseDistance with data set "kilometers" (1000, '1km')
Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait
/srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122
/srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
===
6) GeoData\GeoFeatureTest::testParseDistance with data set "yards" (366, '400yd')
Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait
/srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122
/srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
===
7) GeoData\GeoFeatureTest::testParseDistance with data set "one mile rounds down" (1609, '1mi')
Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait
/srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122
/srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
===
8) GeoData\GeoFeatureTest::testParseDistance with data set "two miles rounds up" ('3219', '2mi')
Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait
/srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122
/srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
===
9) GeoData\GeoFeatureTest::testParseDistance with data set "1000 feet rounds up" (305, '1000ft')
Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait
/srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122
/srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
===
10) GeoData\GeoFeatureTest::testParseDistance with data set "3000 feet rounds down" (914, '3000ft')
Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait
/srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122
/srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
===
11) GeoData\GeoFeatureTest::testParseDistance with data set "small requests are bounded" (10, '1ft')
Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait
/srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122
/srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
===
12) GeoData\GeoFeatureTest::testParseDistance with data set "allows large inputs" (4321000, '4321km')
Calling static trait method GeoData\Search\CirrusGeoFeature::parseDistance is deprecated, it should only be called on a class using the trait
/srv/mw/extensions/GeoData/tests/phpunit/GeoFeatureTest.php:122
/srv/mw/core/tests/phpunit/MediaWikiIntegrationTestCase.php:518
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
===
ERRORS!
Tests: 271, Assertions: 946, Errors: 12.Description
Description
Details
Details
Related Changes in Gerrit:
Event Timeline
Comment Actions
Change 851742 had a related patch set uploaded (by Tim Starling; author: Tim Starling):
[mediawiki/extensions/GeoData@master] Fix PHP 8.1 PHPUnit test failures
Comment Actions
Change 851742 merged by jenkins-bot:
[mediawiki/extensions/GeoData@master] Fix PHP 8.1 PHPUnit test failures
Comment Actions
Change #1148454 had a related patch set uploaded (by Reedy; author: Tim Starling):
[mediawiki/extensions/GeoData@REL1_39] Fix PHP 8.1 PHPUnit test failures
Comment Actions
Change #1148454 merged by Reedy:
[mediawiki/extensions/GeoData@REL1_39] Fix PHP 8.1 PHPUnit test failures