Overrides WebTestBase::drupalLogin().
Overrides WebTestBase::drupalLogin
protected function drupalLogin($user) {
if (isset($this->curlHandle)) {
// cURL quirk: when setting CURLOPT_CUSTOMREQUEST to anything other than
// POST in httpRequest() it has to be restored to POST here. Otherwise the
// POST request to login a user will not work.
curl_setopt($this->curlHandle, CURLOPT_CUSTOMREQUEST, 'POST');
}
parent::drupalLogin($user);
}