2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
@@ -23,7 +23,7 @@ class SessionTestCase extends DrupalWebTestCase {
* Tests for drupal_save_session() and drupal_session_regenerate().
*/
functiontestSessionSaveRegenerate(){
$this->assertTrue(drupal_save_session(),t('drupal_save_session() correctly returns TRUE when initially called with no arguments.'),t('Session'));
$this->assertFalse(drupal_save_session(),t('drupal_save_session() correctly returns FALSE (inside of testing framework) when initially called with no arguments.'),t('Session'));
$this->assertFalse(drupal_save_session(FALSE),t('drupal_save_session() correctly returns FALSE when called with FALSE.'),t('Session'));
$this->assertFalse(drupal_save_session(),t('drupal_save_session() correctly returns FALSE when saving has been disabled.'),t('Session'));
$this->assertTrue(drupal_save_session(TRUE),t('drupal_save_session() correctly returns TRUE when called with TRUE.'),t('Session'));