Projet

Général

Profil

Révision c9e51f47

Ajouté par Julien Enselme il y a environ 7 ans

Udpate to 7.54

Voir les différences:

drupal7/modules/simpletest/tests/form.test
690 690
    $this->assertText('The form has become outdated. Copy any unsaved work in the form below');
691 691
  }
692 692

  
693
  /**
694
   * Tests that a form with a disabled CSRF token can be validated.
695
   */
696
  function testDisabledToken() {
697
    $this->drupalPost('form-test/validate-no-token', array(), 'Save');
698
    $this->assertText('The form_test_validate_no_token form has been submitted successfully.');
699
  }
700

  
693 701
  /**
694 702
   * Tests partial form validation through #limit_validation_errors.
695 703
   */

Formats disponibles : Unified diff