HomePhabricator

Tests for FileImporter URL

Description

Tests for FileImporter URL

Make sure we aren't sending protocol-relative client URLs.

Unfortunately, I couldn't make these pure unit tests because WikiPage relies on
global functions, and overriding the FileRepo to at least make this not a
database test also ran into unknown obstacles (see earlier patchsets);

Bug: T228846
Change-Id: If7f8344c1367595c7a4883db792c739d42ee8694

Details

Provenance
awightAuthored on Sep 6 2019, 9:58 AM
Parents
rEFILEEXPORTace24e253fdf: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
ChangeId
If7f8344c1367595c7a4883db792c739d42ee8694