Projet

Général

Profil

Révision f9d4b898

Ajouté par Assos Assos il y a environ 3 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/token/token.test
956 956
      'last' => 'b',
957 957
      'value:0' => 'a',
958 958
      'value:2' => 'c',
959
      'value:#property' => NULL,
959 960
      'count' => 4,
960 961
      'keys' => '2, 0, 4, 1',
961 962
      'keys:value:3' => '1',
......
1080 1081
    $edit['body[value]'] = 'This is the test token title block.';
1081 1082
    $this->drupalPost('admin/structure/block/add', $edit, 'Save block');
1082 1083
    // Ensure token validation is working on the block.
1083
    $this->assertText('The Block title is using the following invalid tokens: [user:name].');
1084
    $this->assertText('Block title is using the following invalid tokens: [user:name].');
1084 1085

  
1085 1086
    // Create the block for real now with a valid title.
1086 1087
    $edit['title'] = '[current-page:title] block title';

Formats disponibles : Unified diff