Page MenuHomePhabricator

Method for clear titleCache in Title class
Open, LowPublic

Description

Author: Kirill.Sudarushkin

Description:
In tests after each test database transaction rolls back. But when I create same wiki page in few tests, it data from first that test remembered in private static variable $titleCahce. And I haven't any interface to clear this cache.


Version: unspecified
Severity: normal

Details

Reference
bz36233

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:23 AM
bzimport set Reference to bz36233.
bzimport added a subscriber: Unknown Object (MLST).

exbeinfo wrote:

(In reply to comment #1)

We will provide complete sample.

This is not directly related to unit testing but asking for a new functionality in core. Changing component and removing myself from cc:

Aklapper lowered the priority of this task from Medium to Low.Mar 25 2015, 4:07 PM