예제 #1
0
 /**
  * Tests that the status field is not editable.
  */
 public function testStatusFieldIsNotEditable()
 {
     \Drupal::currentUser()->setAccount($this->user1);
     $this->assertFalse($this->file->get('status')->access('edit'));
 }