https://bugzilla.wikimedia.org/show_bug.cgi?id=58094

--- Comment #3 from Antoine "hashar" Musso <has...@free.fr> ---
I wrote MockFileBackend and MockFSFile which let you create fake files which
are purely virtual.

In phpunit/includes/parser/NewParserTest.php we explicitly create a local file
i.e.:

 $image = wfLocalFile( Title::makeTitle( NS_FILE, 'Foobar.jpg' ) );

That call should be replaced by using the mocked filebackend and storing in it
a file named Foobar.jpg.  That would solve the issue and remove a file creation
on disk.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to