dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
In phpunit don't try to write to the source directory
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
upload
/
UploadStashTest.php
diff --git
a/tests/phpunit/includes/upload/UploadStashTest.php
b/tests/phpunit/includes/upload/UploadStashTest.php
index
d5d1188
..
8f9eabe
100644
(file)
--- a/
tests/phpunit/includes/upload/UploadStashTest.php
+++ b/
tests/phpunit/includes/upload/UploadStashTest.php
@@
-20,7
+20,7
@@
class UploadStashTest extends MediaWikiTestCase {
parent::setUp();
// Setup a file for bug 29408
- $this->bug29408File =
__DIR__
. '/bug29408';
+ $this->bug29408File =
wfTempDir()
. '/bug29408';
file_put_contents( $this->bug29408File, "\x00" );
self::$users = array(