comparison core/modules/simpletest/src/Tests/SimpleTestBrowserTest.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children af1871eacc83
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
57 57
58 // Test the maximum redirection option. 58 // Test the maximum redirection option.
59 $this->maximumRedirects = 1; 59 $this->maximumRedirects = 1;
60 $edit = [ 60 $edit = [
61 'name' => $user->getUsername(), 61 'name' => $user->getUsername(),
62 'pass' => $user->pass_raw 62 'pass' => $user->pass_raw,
63 ]; 63 ];
64 $this->drupalPostForm('user/login', $edit, t('Log in'), [ 64 $this->drupalPostForm('user/login', $edit, t('Log in'), [
65 'query' => ['destination' => 'user/logout'], 65 'query' => ['destination' => 'user/logout'],
66 ]); 66 ]);
67 $headers = $this->drupalGetHeaders(TRUE); 67 $headers = $this->drupalGetHeaders(TRUE);