Projet

Général

Profil

Révision db2d93dd

Ajouté par Benjamin Luce il y a presque 9 ans

Update to 7.37

Voir les différences:

drupal7/modules/system/system.test
1068 1068
    );
1069 1069
    $node = $this->drupalCreateNode($edit);
1070 1070

  
1071
    // As node IDs must be integers, make sure requests for non-integer IDs
1072
    // return a page not found error.
1073
    $this->drupalGet('node/invalid');
1074
    $this->assertResponse(404);
1075

  
1071 1076
    // Use a custom 404 page.
1072 1077
    $this->drupalPost('admin/config/system/site-information', array('site_404' => 'node/' . $node->nid), t('Save configuration'));
1073 1078

  

Formats disponibles : Unified diff