Page MenuHomePhabricator
Paste P17441

Mailgun phpunit
ActivePublic

Authored by Deniz_WMDE on Fri, Oct 8, 8:12 AM.
Time: 458 ms, Memory: 24.00 MB
There was 1 error:
1) MailgunHooksTest::testOnAlternateUserMailerNoApiKey
TypeError: Argument 1 passed to Wikibase\Client\Hooks\ExtensionLoadHandler::getApiFormatReferenceSpec() must be of the type array, null given, called in /var/www/html/w/extensions/Wikibase/client/includes/Hooks/ExtensionLoadHandler.php on line 47 and defined in /var/www/html/w/extensions/Wikibase/client/includes/Hooks/ExtensionLoadHandler.php:74
Stack trace:
#0 /var/www/html/w/extensions/Wikibase/client/includes/Hooks/ExtensionLoadHandler.php(47): Wikibase\Client\Hooks\ExtensionLoadHandler->getApiFormatReferenceSpec(NULL)
#1 [internal function]: Wikibase\Client\Hooks\ExtensionLoadHandler::onExtensionLoad()
#2 /var/www/html/w/includes/Setup.php(859): call_user_func('\\Wikibase\\Clien...')
#3 /var/www/html/w/tests/phpunit/bootstrap.php(42): require_once('/var/www/html/w...')
#4 /var/www/html/w/tests/phpunit/MediaWikiIntegrationTestCase.php(175): wfRequireOnceInGlobalScope('/var/www/html/w...')
#5 /var/www/html/w/tests/phpunit/MediaWikiIntegrationTestCase.php(194): MediaWikiIntegrationTestCase::initializeForStandardPhpunitEntrypointIfNeeded()
#6 [internal function]: MediaWikiIntegrationTestCase::mediaWikiSetUpBeforeClass()
#7 /var/www/html/w/vendor/phpunit/phpunit/src/Framework/TestSuite.php(572): call_user_func(Array)
#8 /var/www/html/w/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(656): PHPUnit\Framework\TestSuite->run(Object(PHPUnit\Framework\TestResult))
#9 /var/www/html/w/vendor/phpunit/phpunit/src/TextUI/Command.php(235): PHPUnit\TextUI\TestRunner->doRun(Object(PHPUnit\Framework\TestSuite), Array, Array, true)
#10 /var/www/html/w/vendor/phpunit/phpunit/src/TextUI/Command.php(194): PHPUnit\TextUI\Command->run(Array, true)
#11 /var/www/html/w/vendor/phpunit/phpunit/phpunit(92): PHPUnit\TextUI\Command::main()
#12 {main}
ERRORS!
Tests: 4, Assertions: 0, Errors: 1, Skipped: 3.
Script phpunit handling the phpunit event returned with error code 2