Wrong namespace in BackupDumperPageTest::testFullTextPlain
authorumherirrender <umherirrender_de.wp@web.de>
Mon, 31 Dec 2012 12:23:20 +0000 (13:23 +0100)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 31 Dec 2012 13:35:45 +0000 (13:35 +0000)
commitb8b9c6d6cd239a7bd0edcda96675a2b1e7ea1145
tree37e9c48c1721b708d83f177f18b73b32b731b736
parentad6a30f045c0481d19b1b1992a7e1f79272aca1c
Wrong namespace in BackupDumperPageTest::testFullTextPlain

The problem here is, that title objects are created before wgContLang is
changed, so the title can contains wrong namespace names.

1) BackupDumperPageTest::testFullTextPlain
Text of node title
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Diskussion:BackupDumperTestP1'
+'Talk:BackupDumperTestP1'

Change-Id: I975c0f6ae7e6f51b038fe41edda2f54cd8c97eb6
tests/phpunit/maintenance/backup_PageTest.php