Skip to content
Snippets Groups Projects
Commit a960a7f5 authored by Frank Febbraro's avatar Frank Febbraro
Browse files

Fixed file enclosure test. Wackyness with curl

parent abf40bbb
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,12 @@ class FeedsMapperFileTestCase extends FeedsMapperTestCase {
* Basic test loading a single entry CSV file.
*/
public function test() {
// If this is unset (or FALSE) http_request.inc will use curl, and will generate a 404
// for this feel url provided by feeds_tests. However, if feeds_tests was enabled in your
// site before running the test, it will work fine. Since it is truly screwy, lets just
// force it to use drupal_http_request for this test case.
variable_set('feeds_never_use_curl', TRUE);
$typename = $this->createContentType(array(), array('files' => 'file'));
// 1) Test mapping remote resources to file field.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment