Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
update.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Oct 2009 at 18:27 UTC
Updated:
31 Jan 2015 at 18:13 UTC
Jump to comment: Most recent
Comments
Comment #1
dwwThis should be a lot easier to test now that we have a FileTransferLocal class from #609728: Skip authorize.php step if webroot files are owned by the httpd user
Comment #2
JacobSingh commentedWe actually had a FileTransferTest class and unit tests I wrote in part 1, but due to a PHP bug and lack of interest, they never got finalized in core AFAIK.
#395472: Plugin Manager in Core: Part 1 (backend)
modules/simpletest/tests/filetransfer.test
If I was to write a unit test for this, I'd write one for the Updaters in a similar fashion.
We could do actual file transfers too, but mocking might be easier to validate.
Comment #3
chx commentedComment #4
chx commentedComment #5
dww