Needs review
Project:
SimpleTest
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2012 at 10:04 UTC
Updated:
28 Jul 2014 at 04:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pfrenssenI rerolled the patch that was made by jaimealsilva and sun and was posted in comment #4 in #1671200: Simpletest broken: CURLOPT_COOKIEJAR cannot be NULL for contrib Simpletest.
Comment #2
pfrenssenDrupalRemoteTestCase::setUp() is not inheriting DrupalWebTestCase::setUp(). This patch also sets $this->cookieFile in DrupalRemoteTestCase::setUp(), but a cleaner solution would indeed be to do this in curlInitialize().
Comment #3
djdevinThis also exists in 6.x-2.x, and also any version with PHP 5.3.14.
Comment #4
pfrenssenThe patch in #1671200: Simpletest broken: CURLOPT_COOKIEJAR cannot be NULL has landed in D8 and there is a new version of the patch for D7.
Comment #5
kentr commentedD6 patch attached.
Though one could also create a new class to extend
DrupalWebTestCasewith a correctcurlInitialize()method.