Projet

Général

Profil

Révision 4003efde

Ajouté par Assos Assos il y a environ 4 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/views/tests/views_ui.test
11 11
class ViewsUIWizardHelper extends DrupalWebTestCase {
12 12

  
13 13
  /**
14
   *
14
   * {@inheritdoc}
15 15
   */
16
  function setUp() {
17
    // Enable views_ui.
18
    parent::setUp('views_ui');
16
  public function setUp(array $modules = array()) {
17
    $modules[] = 'views_ui';
18
    parent::setUp($modules);
19 19

  
20 20
    // Create and log in a user with administer views permission.
21 21
    $views_admin = $this->drupalCreateUser(array('administer views', 'administer blocks', 'bypass node access', 'access user profiles', 'view revisions'));
......
317 317
  /**
318 318
   * {@inheritdoc}
319 319
   */
320
  function setUp() {
321
    parent::setUp();
320
  public function setUp(array $modules = array()) {
321
    parent::setUp($modules);
322 322

  
323 323
    // Create two content types. One will have an autocomplete tagging field,
324 324
    // and one won't.

Formats disponibles : Unified diff