Projet

Général

Profil

Révision ecd39969

Ajouté par Assos Assos il y a environ 5 ans

Udpate to 7.65

Voir les différences:

drupal7/modules/simpletest/drupal_web_test_case.php
3012 3012
    if (!$message) {
3013 3013
      $message = t('Raw "@raw" found', array('@raw' => $raw));
3014 3014
    }
3015
    return $this->assert(strpos($this->drupalGetContent(), $raw) !== FALSE, $message, $group);
3015
    return $this->assert(strpos($this->drupalGetContent(), (string) $raw) !== FALSE, $message, $group);
3016 3016
  }
3017 3017

  
3018 3018
  /**
......
3032 3032
    if (!$message) {
3033 3033
      $message = t('Raw "@raw" not found', array('@raw' => $raw));
3034 3034
    }
3035
    return $this->assert(strpos($this->drupalGetContent(), $raw) === FALSE, $message, $group);
3035
    return $this->assert(strpos($this->drupalGetContent(), (string) $raw) === FALSE, $message, $group);
3036 3036
  }
3037 3037

  
3038 3038
  /**

Formats disponibles : Unified diff