https://bugzilla.wikimedia.org/show_bug.cgi?id=55886
Nemo <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |67216 --- Comment #5 from Nemo <[email protected]> --- Just got this as well. 1) MWTimestampTest::testHumanTimestamp with data set #0 ('20111231170000', '20120101000000', 'Offset|0', 'mdy', 'Yesterday at 17:00', '"Yesterday" across years') "Yesterday" across years Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'Yesterday at 17:00' +'7 hours ago' /srv/vagrant/mediawiki/tests/phpunit/includes/MWTimestampTest.php:142 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 2) MWTimestampTest::testHumanTimestamp with data set #1 ('20120717190900', '20120717190929', 'Offset|0', 'mdy', 'just now', '"Just now"') "Just now" Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'just now' +'29 seconds ago' /srv/vagrant/mediawiki/tests/phpunit/includes/MWTimestampTest.php:142 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 3) MWTimestampTest::testHumanTimestamp with data set #4 ('20120617190900', '20120717190900', 'Offset|0', 'mdy', 'June 17', 'Another month') Another month Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'June 17' +'1 month ago' /srv/vagrant/mediawiki/tests/phpunit/includes/MWTimestampTest.php:142 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 4) MWTimestampTest::testHumanTimestamp with data set #5 ('19910130151500', '20120716193700', 'Offset|0', 'mdy', '15:15, January 30, 1991', 'Different year') Different year Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'15:15, January 30, 1991' +'21 years ago' /srv/vagrant/mediawiki/tests/phpunit/includes/MWTimestampTest.php:142 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 5) MWTimestampTest::testHumanTimestamp with data set #6 ('20120101050000', '20120101080000', 'Offset|-360', 'mdy', 'Yesterday at 23:00', '"Yesterday" across years with time correction') "Yesterday" across years with time correction Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'Yesterday at 23:00' +'3 hours ago' /srv/vagrant/mediawiki/tests/phpunit/includes/MWTimestampTest.php:142 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 6) MWTimestampTest::testHumanTimestamp with data set #7 ('20120714184300', '20120716184300', 'Offset|-420', 'mdy', 'Saturday at 11:43', 'Recent weekday with time correction') Recent weekday with time correction Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'Saturday at 11:43' +'2 days ago' /srv/vagrant/mediawiki/tests/phpunit/includes/MWTimestampTest.php:142 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 7) MWTimestampTest::testHumanTimestamp with data set #8 ('20120714184300', '20120715040000', 'Offset|-420', 'mdy', '11:43', 'Today at another time with time correction') Today at another time with time correction Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'11:43' +'9 hours ago' /srv/vagrant/mediawiki/tests/phpunit/includes/MWTimestampTest.php:142 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 8) MWTimestampTest::testHumanTimestamp with data set #9 ('20120617190900', '20120717190900', 'Offset|0', 'dmy', '17 June', 'Another month with dmy') Another month with dmy Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'17 June' +'1 month ago' /srv/vagrant/mediawiki/tests/phpunit/includes/MWTimestampTest.php:142 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 9) MWTimestampTest::testHumanTimestamp with data set #10 ('20120617190900', '20120717190900', 'Offset|0', 'ISO 8601', '06-17', 'Another month with ISO-8601') Another month with ISO-8601 Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'06-17' +'1 month ago' /srv/vagrant/mediawiki/tests/phpunit/includes/MWTimestampTest.php:142 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 10) MWTimestampTest::testHumanTimestamp with data set #11 ('19910130151500', '20120716193700', 'Offset|0', 'ISO 8601', '1991-01-30T15:15:00', 'Different year with ISO-8601') Different year with ISO-8601 Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'1991-01-30T15:15:00' +'21 years ago' /srv/vagrant/mediawiki/tests/phpunit/includes/MWTimestampTest.php:142 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133 /srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42 /srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
