Page MenuHomePhabricator

LinksUpdateTest::testUpdate_categorylinks depends on $wgCategoryCollation= 'uppercase'
Closed, ResolvedPublic

Description

  1. LinksUpdateTest::testUpdate_categorylinks

row #1 mismatches
Failed asserting that two arrays are equal.

  • Expected

+++ Actual
@@ @@
Array (

0 => 'Foo'
  • 1 => 'FOO
  • TESTING'

+ 1 => Binary String: 0x3648480509523450523c4638010f018f8f8f858f0a00
)

Test should not depend on current wiki configuration, I guess.


Version: 1.20.x
Severity: enhancement

Details

Reference
bz40489

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:09 AM
bzimport set Reference to bz40489.

That one is weird, can you find out what is the root cause for it ?

Having $wgCategoryCollation = 'uppercase'; set to something else than uppercase.

Updated summary. We should add tests for $wgCategoryCollation.

commited gerrit 51687

successfully merged