Projet

Général

Profil

Révision b0dc3a2e

Ajouté par Julien Enselme il y a plus de 7 ans

Update to Drupal 7.52

Voir les différences:

drupal7/modules/trigger/trigger.test
85 85
      $this->assertRaw(t('!post %title has been created.', array('!post' => 'Basic page', '%title' => $edit["title"])), 'Make sure the Basic page has actually been created');
86 86
      // Action should have been fired.
87 87
      $loaded_node = $this->drupalGetNodeByTitle($edit["title"]);
88
      $this->assertTrue($loaded_node->$info['property'] == $info['expected'], format_string('Make sure the @action action fired.', array('@action' => $info['name'])));
88
      $this->assertTrue($loaded_node->{$info['property']} == $info['expected'], format_string('Make sure the @action action fired.', array('@action' => $info['name'])));
89 89
      // Leave action assigned for next test
90 90

  
91 91
      // There should be an error when the action is assigned to the trigger

Formats disponibles : Unified diff