mirror of
https://github.com/tag1consulting/d7_to_d10_migration.git
synced 2025-09-06 17:11:21 +00:00
Update Drupal 7 dependencies
This commit is contained in:
parent
7d902ba1ef
commit
13df912654
391 changed files with 2900 additions and 1502 deletions
|
@ -779,8 +779,10 @@ class SessionHttpsTestCase extends DrupalWebTestCase {
|
|||
$form[0]['action'] = $this->httpsUrl('user');
|
||||
$this->drupalPost(NULL, $edit, t('Log in'));
|
||||
|
||||
// Make the secure session cookie blank.
|
||||
curl_setopt($this->curlHandle, CURLOPT_COOKIE, "$secure_session_name=");
|
||||
// Make the secure session cookie blank. Closing the curl handler will stop
|
||||
// the previous session ID from persisting.
|
||||
$this->curlClose();
|
||||
$this->additionalCurlOptions[CURLOPT_COOKIE] = rawurlencode($secure_session_name) . '=;';
|
||||
$this->drupalGet($this->httpsUrl('user'));
|
||||
$this->assertNoText($admin_user->name, 'User is not logged in as admin');
|
||||
$this->assertNoText($standard_user->name, "The user's own name is not displayed because the invalid session cookie has logged them out.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue