https://bugzilla.wikimedia.org/show_bug.cgi?id=36353

Sam Reed (reedy) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |i18n
            Summary|UploadStashTest::testBug294 |UploadStashTest::testBug294
                   |08 gives error in           |08 gives error in spanish,
                   |spanish(?), and no          |and no parameter
                   |parameter substituted       |substituted

--- Comment #1 from Sam Reed (reedy) <[email protected]> 2012-04-30 16:12:55 
UTC ---
Run alone:


reedy@ubuntu64-web-esxi:/var/www/wiki/w$ php tests/phpunit/phpunit.php
tests/phpunit/includes/upload/UploadStashTest.php
PHPUnit 3.6.10 by Sebastian Bergmann.

Configuration read from /var/www/wiki/w/tests/phpunit/suite.xml

E.

Time: 6 seconds, Memory: 47.25Mb

There was 1 error:

1) UploadStashTest::testBug29408
UploadStashFileException: Error storing file in
'/var/www/wiki/w/tests/phpunit/includes/upload/bug29408.': Could not create
directory "$1".

/var/www/wiki/w/includes/upload/UploadStash.php:218
/var/www/wiki/w/tests/phpunit/includes/upload/UploadStashTest.php:42
/var/www/wiki/w/tests/phpunit/MediaWikiTestCase.php:75
/var/www/wiki/w/tests/phpunit/MediaWikiPHPUnitCommand.php:45
/var/www/wiki/w/tests/phpunit/phpunit.php:103




I'm guessing ArticleTablesTest::testbug14404() is at fault:

        $wgLanguageCode = 'es';
        $wgContLang = Language::factory( 'es' );

tearDown() does do

    public function tearDown() {
        global $wgContLang, $wgLang, $wgLanguageCode;
        $wgLang = self::$oldLang;

        $wgContLang = self::$oldContLang;
        $wgLanguageCode = $wgContLang->getCode();
        self::$oldContLang = self::$oldLang = null;
    }

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to