diff options
author | Aryeh Gregor <ayg@aryeh.name> | 2019-08-21 16:16:27 +0300 |
---|---|---|
committer | Aryeh Gregor <ayg@aryeh.name> | 2019-08-28 11:21:44 +0300 |
commit | bd2a43950251e6eb67135b8f4535630981c12f9c (patch) | |
tree | a064dcf03291771bf2f7ef227f0e3627131197fa /includes/filebackend | |
parent | 5a6c18a0863fad234a513bcd61a2076f28433d7e (diff) | |
download | mediawikicore-bd2a43950251e6eb67135b8f4535630981c12f9c.tar.gz mediawikicore-bd2a43950251e6eb67135b8f4535630981c12f9c.zip |
Integration tests for FileBackendGroup
100% coverage except for one bit of the code that I didn't understand.
Unit tests to come, together with rewrite as a service.
Change-Id: Ib01758d994a9e5587a4fcb5edc3d80010ef05615
Diffstat (limited to 'includes/filebackend')
-rw-r--r-- | includes/filebackend/FileBackendGroup.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/filebackend/FileBackendGroup.php b/includes/filebackend/FileBackendGroup.php index 8b31f05c8390..9e04d0963292 100644 --- a/includes/filebackend/FileBackendGroup.php +++ b/includes/filebackend/FileBackendGroup.php @@ -150,6 +150,7 @@ class FileBackendGroup { $class = $config['class']; if ( $class === FileBackendMultiWrite::class ) { + // @todo How can we test this? What's the intended use-case? foreach ( $config['backends'] as $index => $beConfig ) { if ( isset( $beConfig['template'] ) ) { // Config is just a modified version of a registered backend's. |