diff --git a/core/modules/system/lib/Drupal/system/Tests/Session/SessionHttpsTest.php b/core/modules/system/lib/Drupal/system/Tests/Session/SessionHttpsTest.php index f1779f4..18bd3bb 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Session/SessionHttpsTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Session/SessionHttpsTest.php @@ -13,7 +13,7 @@ use Drupal\Component\Utility\String; /** - * Ensure that when running under HTTPS two session cookies are generated. + * Tests that when running under HTTPS two session cookies are generated. */ class SessionHttpsTest extends WebTestBase { @@ -276,7 +276,7 @@ protected function testCsrfTokenWithMixedModeSsl() { } /** - * Return the token of the current form. + * Returns the token of the current form. */ protected function getFormToken() { $token_fields = $this->xpath('//input[@name="form_token"]'); diff --git a/core/modules/system/tests/modules/session_test/lib/Drupal/session_test/Form/SessionTestForm.php b/core/modules/system/tests/modules/session_test/lib/Drupal/session_test/Form/SessionTestForm.php index f67ba1f..e611b1e 100644 --- a/core/modules/system/tests/modules/session_test/lib/Drupal/session_test/Form/SessionTestForm.php +++ b/core/modules/system/tests/modules/session_test/lib/Drupal/session_test/Form/SessionTestForm.php @@ -2,7 +2,7 @@ /** * @file - * Contains \Drupal\session_test\Form\SessionTestForm + * Contains \Drupal\session_test\Form\SessionTestForm. */ namespace Drupal\session_test\Form; @@ -11,7 +11,9 @@ use Drupal\Core\Form\FormBase; /** - * Form controller for the test config edit forms. + * Provides a form that can be submitted, to test session tokens. + * + * @see \Drupal\system\Tests\Session\SessionHttpsTest::testCsrfTokenWithMixedModeSsl() */ class SessionTestForm extends FormBase {