From 1e40ea1a75ad04afc035e28afea97b9d36325a6b Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Sat, 18 Jun 2011 17:27:32 +0000 Subject: [PATCH] Follow-up r90340: just add the test file to SVN, which hopefully fixes the cruisecontrol problems. --- tests/phpunit/includes/upload/UploadStashTest.php | 5 +---- tests/phpunit/includes/upload/bug29408 | Bin 0 -> 1 bytes 2 files changed, 1 insertion(+), 4 deletions(-) create mode 100644 tests/phpunit/includes/upload/bug29408 diff --git a/tests/phpunit/includes/upload/UploadStashTest.php b/tests/phpunit/includes/upload/UploadStashTest.php index c34714a275..aabe7501d8 100644 --- a/tests/phpunit/includes/upload/UploadStashTest.php +++ b/tests/phpunit/includes/upload/UploadStashTest.php @@ -11,7 +11,7 @@ class UploadStashTest extends MediaWikiTestCase { // Setup a file for bug 29408 $this->bug29408File = dirname( __FILE__ ) . '/bug29408'; - file_put_contents( $this->bug29408File, "\x00" ); + // file_put_contents( $this->bug29408File, "\x00" ); } public function testBug29408() { @@ -28,8 +28,5 @@ class UploadStashTest extends MediaWikiTestCase { public function tearDown() { parent::tearDown(); - - unlink( $this->bug29408File ); - } } \ No newline at end of file diff --git a/tests/phpunit/includes/upload/bug29408 b/tests/phpunit/includes/upload/bug29408 new file mode 100644 index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d GIT binary patch literal 1 IcmZPo000310RR91 literal 0 HcmV?d00001 -- 2.20.1