Page MenuHomePhabricator

Wikibase\Client\Tests\Integration\Hooks\EchoNotificationsHandlersTest::testWikibaseHandleChange HTTP request blocked
Closed, DuplicatePublic

Description

Seen on a Wikibase patch https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/649762

https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php72-noselenium-docker/53689/console

Fallout from T262443: Do not hit actual urls during phpunit tests, being tracked in T265628: Identify which extensions' tests make HTTP requests and so are now broken post-T262443

03:05:15 2) Wikibase\Client\Tests\Integration\Hooks\EchoNotificationsHandlersTest::testWikibaseHandleChange
03:05:15 HTTP request blocked: https://meta.wikimedia.org/w/api.php?action=jsonschema&revid=14208837&formatversion=2&format=json by RemoteSchema::httpGet. Use MockHttpTrait.
03:05:15 
03:05:15 /workspace/src/tests/phpunit/mocks/NullHttpRequestFactory.php:43
03:05:15 /workspace/src/includes/http/HttpRequestFactory.php:189
03:05:15 /workspace/src/includes/http/HttpRequestFactory.php:212
03:05:15 /workspace/src/extensions/EventLogging/includes/RemoteSchema.php:108
03:05:15 /workspace/src/extensions/EventLogging/includes/RemoteSchema.php:57
03:05:15 /workspace/src/extensions/EventLogging/includes/EventLogging.php:191
03:05:15 /workspace/src/extensions/EventLogging/includes/EventLogging.php:84
03:05:15 /workspace/src/extensions/WikimediaEvents/includes/WikimediaEventsHooks.php:299
03:05:15 /workspace/src/includes/deferred/MWCallableUpdate.php:38
03:05:15 /workspace/src/includes/deferred/DeferredUpdates.php:467
03:05:15 /workspace/src/includes/deferred/DeferredUpdates.php:344
03:05:15 /workspace/src/includes/deferred/DeferredUpdates.php:278
03:05:15 /workspace/src/includes/deferred/DeferredUpdates.php:194
03:05:15 /workspace/src/includes/deferred/DeferredUpdates.php:491
03:05:15 /workspace/src/maintenance/includes/Maintenance.php:698
03:05:15 /workspace/src/includes/libs/rdbms/database/Database.php:4241
03:05:15 /workspace/src/includes/libs/rdbms/database/Database.php:4610
03:05:15 /workspace/src/includes/libs/rdbms/database/Database.php:4371
03:05:15 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:68
03:05:15 /workspace/src/includes/libs/rdbms/database/DBConnRef.php:629
03:05:15 /workspace/src/includes/Storage/PageUpdater.php:1132
03:05:15 /workspace/src/includes/Storage/PageUpdater.php:801
03:05:15 /workspace/src/includes/page/WikiPage.php:1964
03:05:15 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:1354
03:05:15 /workspace/src/extensions/Wikibase/client/tests/phpunit/integration/includes/Hooks/EchoNotificationsHandlersTest.php:171
03:05:15 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:437
03:05:15 /workspace/src/maintenance/doMaintenance.php:106