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
@@ -30,11 +30,11 @@ public static function getInfo() {
* Tests for drupal_save_session() and drupal_session_regenerate().
*/
functiontestSessionSaveRegenerate(){
$this->assertFalse(drupal_save_session(),'drupal_save_session() correctly returns FALSE (inside of testing framework) when initially called with no arguments.',t('Session'));
$this->assertFalse(drupal_save_session(FALSE),'drupal_save_session() correctly returns FALSE when called with FALSE.',t('Session'));
$this->assertFalse(drupal_save_session(),'drupal_save_session() correctly returns FALSE when saving has been disabled.',t('Session'));
$this->assertTrue(drupal_save_session(TRUE),'drupal_save_session() correctly returns TRUE when called with TRUE.',t('Session'));
$this->assertTrue(drupal_save_session(),'drupal_save_session() correctly returns TRUE when saving has been enabled.',t('Session'));
$this->assertFalse(drupal_save_session(),'drupal_save_session() correctly returns FALSE (inside of testing framework) when initially called with no arguments.','Session');
$this->assertFalse(drupal_save_session(FALSE),'drupal_save_session() correctly returns FALSE when called with FALSE.','Session');
$this->assertFalse(drupal_save_session(),'drupal_save_session() correctly returns FALSE when saving has been disabled.','Session');
$this->assertTrue(drupal_save_session(TRUE),'drupal_save_session() correctly returns TRUE when called with TRUE.','Session');
$this->assertTrue(drupal_save_session(),'drupal_save_session() correctly returns TRUE when saving has been enabled.','Session');