'http_errors' => FALSE,
'cookies' =>
$this->cookies,
]);
return $result;
} /**
* Tests user session life cycle.
*/
public function testLogin() { // Without the serialization module only JSON is supported.
$this->
doTestLogin('json'
);
// Enable serialization so we have access to additional formats.
$this->container->
get('module_installer'
)->
install(['serialization'
]);
$this->
rebuildAll();
$this->
doTestLogin('json'
);
$this->
doTestLogin('xml'
);
} /**
* Do login testing for a given serialization format.
*
* @param string $format
* Serialization format.
*/