dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4be216c
)
Skip ImportTest if allow_url_fopen disabled
author
saper
<saper@saper.info>
Tue, 11 Nov 2014 22:53:45 +0000
(23:53 +0100)
committer
Aklapper
<aklapper@wikimedia.org>
Thu, 24 Sep 2015 11:28:32 +0000
(11:28 +0000)
Workaround for:
Bug: 73283
Change-Id: I7afbf4dba358c89f9ba78042d82c35df1d2258e8
tests/phpunit/includes/ImportTest.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/includes/ImportTest.php
b/tests/phpunit/includes/ImportTest.php
index
ea753e8
..
7ef44e7
100644
(file)
--- a/
tests/phpunit/includes/ImportTest.php
+++ b/
tests/phpunit/includes/ImportTest.php
@@
-10,6
+10,9
@@
class ImportTest extends MediaWikiLangTestCase {
private function getInputStreamSource( $xml ) {
+ if ( ini_get( 'allow_url_fopen' ) != 1 ) {
+ $this->markTestSkipped( 'bug 73283: this test needs allow_url_fopen to be enabled' );
+ }
$file = 'data:application/xml,' . $xml;
$status = ImportStreamSource::newFromFile( $file );
if ( !$status->isGood() ) {