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

            Bug ID: 73289
           Summary: PrefixSearchTest::testSearch fails on PostgreSQL
           Product: MediaWiki
           Version: 1.25-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Search
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
            Blocks: 384, 30323
       Web browser: ---
   Mobile Platform: ---

From my newest PHPUnit run:

fix', 'Ex', array('Example', 'Example/Baz', 'Example Bar')))
Main namespace with title prefix
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
 Array (
     0 => 'Example'
-    1 => 'Example/Baz'
-    2 => 'Example Bar'
+    1 => 'Example Bar'
+    2 => 'Example/Baz'
 )

phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/Constraint/IsEqual.php:170
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/Assert.php:2134
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/Assert.php:475
/usr/home/saper/public_html/pg/w/tests/phpunit/includes/PrefixSearchTest.php:138
phar:///usr/share/php/phpunit/phpunit.phar/PHPUnit/Framework/TestCase.php:976
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/Framework/TestSuite.php:705
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

Freshly installed empty wiki via the commandline installer

-- 
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