Last modified: 2013-11-14 14:30:02 UTC
twn:/www/dev.translatewiki.net/w/tests/phpunit (master)$ php phpunit.php --configuration /www/dev.translatewiki.net/w/tests/phpunit/suite.xml includes/content/ContentHandlerTest.php PHPUnit 3.7.8 by Sebastian Bergmann. Configuration read from /www/dev.translatewiki.net/w/tests/phpunit/suite.xml ..............................................F..F........ Time: 1 second, Memory: 44.50Mb There were 2 failures: 1) ContentHandlerTest::testMakeContent with data set #2 ('s:5:"hallo";', 'Dummy:Test', NULL, NULL, 'testing', 'hallo', false) bad model id Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'testing' +'text' /www/dev.translatewiki.net/w/tests/phpunit/includes/content/ContentHandlerTest.php:245 /www/dev.translatewiki.net/w/tests/phpunit/MediaWikiTestCase.php:116 /www/dev.translatewiki.net/w/tests/phpunit/MediaWikiPHPUnitCommand.php:59 /www/dev.translatewiki.net/w/tests/phpunit/MediaWikiPHPUnitCommand.php:45 2) ContentHandlerTest::testMakeContent with data set #5 ('s:5:"hallo";', 'Dummy:Test', NULL, 'testing', 'testing', 'hallo', false) ContentHandler::makeContent failed unexpectedly: Format testing is not supported for content model text /www/dev.translatewiki.net/w/tests/phpunit/includes/content/ContentHandlerTest.php:248 /www/dev.translatewiki.net/w/tests/phpunit/MediaWikiTestCase.php:116 /www/dev.translatewiki.net/w/tests/phpunit/MediaWikiPHPUnitCommand.php:59 /www/dev.translatewiki.net/w/tests/phpunit/MediaWikiPHPUnitCommand.php:45 FAILURES! Tests: 58, Assertions: 71, Failures: 2.