00:06:47.599 1) MediaWiki\Extension\OAuth\Tests\Rest\RequestClientEndpointTest::testHandlerExecute with data set "Missing Content-Type header" (array('POST', GuzzleHttp\Psr7\Uri Object (...), array('TestName', '1.0', 'TestDescription', '*', false, 'https://test.com/oauth', false, 'test@test.com', false, array('client_credentials'), array()), array()), array(415, 'Unsupported Media Type', '1.1'), Closure Object (...)) 00:06:47.600 Failed asserting that 200 is identical to 415. 00:06:47.600 00:06:47.600 /workspace/src/extensions/OAuth/tests/phpunit/Rest/EndpointTestBase.php:82 00:06:47.600 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 Logs generated by test Show Details 00:06:47.602 00:06:47.602 2) MediaWiki\Extension\OAuth\Tests\Rest\ResetClientSecretEndpointTest::testHandlerExecute with data set "Unsupported Media Type" (array('POST', GuzzleHttp\Psr7\Uri Object (...), array('INVALID_CLIENT_KEY')), array(415, 'Unsupported Media Type', '1.1')) 00:06:47.602 Failed asserting that 400 is identical to 415. 00:06:47.602 00:06:47.602 /workspace/src/extensions/OAuth/tests/phpunit/Rest/EndpointTestBase.php:82 00:06:47.602 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106 Logs generated by test Show Details 00:06:47.603 00:06:47.603 3) MediaWiki\Extension\OAuth\Tests\Rest\ResetClientSecretEndpointTest::testHandlerExecute with data set "Missing Content-Type header" (array('POST', GuzzleHttp\Psr7\Uri Object (...), array('11111111111111111111111111111111'), array()), array(415, 'Unsupported Media Type', '1.1')) 00:06:47.603 Failed asserting that 400 is identical to 415. 00:06:47.603
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
tests: Fix and remove broken tests with HTTP StatusCode 415 | mediawiki/extensions/OAuth | master | +4 -23 |
Related Objects
Related Objects
Event Timeline
Comment Actions
Change #1016819 had a related patch set uploaded (by Umherirrender; author: Umherirrender):
[mediawiki/extensions/OAuth@master] tests: Remove broken tests with HTTP StatusCode 415
Comment Actions
Change #1016819 merged by jenkins-bot:
[mediawiki/extensions/OAuth@master] tests: Fix and remove broken tests with HTTP StatusCode 415