When executing the following code:
$edit = array();
$edit['os_poker_8[region]'] = 'content';
$this->drupalPost('admin/build/block', $edit, t('Save blocks'));
drupalPost report a failure in "Test result", even thought the POST didn't fail.
Because this->content is empty after handling a 302 redirect in curlExec:
$this->assertTrue($this->content !== FALSE, $message, t('Browser'));
Let me know if you need more information.
Comments
Comment #1
proppy commentedA tentative workraround:
Comment #2
boombatower commentedI need to look into confirming this, but curl should be dealing with 302's and it should never get to php.
Comment #3
boombatower commentedtests/block.test works fine and has similar code as does half of the d7 core tests that this framework is a direct backport of. Please check to see if something else more interesting is at work, possibly something odd with curl, I'm not sure what else to say.
Comment #4
boombatower commentedPlease re-open if still occurs.