Last modified: 2014-11-12 01:31:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T75287, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73287 - phpunit 'Failed asserting that exception of type "PHPUnit_Framework_Error_Notice" is thrown' in SpecialPageTest
phpunit 'Failed asserting that exception of type "PHPUnit_Framework_Error_Not...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
1.25-git
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-12 01:24 UTC by Marcin Cieślak
Modified: 2014-11-12 01:31 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Marcin Cieślak 2014-11-12 01:24:12 UTC
Here's my output:

Time: 2 seconds, Memory: 51.00Mb

There were 2 failures:

1) SpecialPageTest::testInvalidGetTitleFor
Failed asserting that exception of type "PHPUnit_Framework_Error_Notice" is thrown.

phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/Constraint.php:144
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/Constraint.php:91
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/Assert.php:2134
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestCase.php:1036
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestCase.php:831
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestResult.php:648
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestCase.php:776
/usr/home/saper/public_html/pg/w/tests/phpunit/MediaWikiTestCase.php:141
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestSuite.php:775
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestSuite.php:745
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/TextUI/TestRunner.php:349
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/TextUI/Command.php:176
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/TextUI/Command.php:129
/usr/share/php/phpunit/phpunit.phar:531

2) SpecialPageTest::testGetTitleForWithWarning with data set #0 (Special:UserLogin, 'UserLogin')
Failed asserting that exception of type "PHPUnit_Framework_Error_Notice" is thrown.

phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/Constraint.php:144
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/Constraint.php:91
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/Assert.php:2134
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestCase.php:1036
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestCase.php:831
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestResult.php:648
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestCase.php:776
/usr/home/saper/public_html/pg/w/tests/phpunit/MediaWikiTestCase.php:141
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestSuite.php:775
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestSuite.php:745
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestSuite.php:705
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/TextUI/TestRunner.php:349
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/TextUI/Command.php:176
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/TextUI/Command.php:129
/usr/share/php/phpunit/phpunit.phar:531


Might be PostgreSQL-related, of course...
Comment 1 Marcin Cieślak 2014-11-12 01:31:24 UTC
This code got introduced in Gerrit change #95783. Under PostgreSQL I don't seem to be getting any warning...

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links