Project

General

Profile

Revision b0dc3a2e

Added by Julien Enselme over 7 years ago

Update to Drupal 7.52

View differences:

drupal7/modules/field/modules/options/options.test
54 54
    $this->bool = field_create_field($this->bool);
55 55

  
56 56
    // Create a web user.
57
    $this->web_user = $this->drupalCreateUser(array('access field_test content', 'administer field_test content'));
57
    $this->web_user = $this->drupalCreateUser(array('access field_test content', 'administer field_test content', 'administer fields'));
58 58
    $this->drupalLogin($this->web_user);
59 59
  }
60 60

  
......
460 460
    $this->assertNoFieldChecked("edit-bool-$langcode");
461 461

  
462 462
    // Create admin user.
463
    $admin_user = $this->drupalCreateUser(array('access content', 'administer content types', 'administer taxonomy'));
463
    $admin_user = $this->drupalCreateUser(array('access content', 'administer content types', 'administer taxonomy', 'administer fields'));
464 464
    $this->drupalLogin($admin_user);
465 465

  
466 466
    // Create a test field instance.

Also available in: Unified diff