function setUp() { parent::setUp(); // Enable anonymous and authenticated user comments. user_role_grant_permissions(DRUPAL_ANONYMOUS_RID, array('access comments', 'post comments', 'skip comment approval')); user_role_grant_permissions(DRUPAL_AUTHENTICATED_RID, array('access comments', 'post comments', 'skip comment approval')); }
public function setUp() { parent::setUp(); // Enable comment_test.module's hook_comment_links_alter() implementation. $this->container->get('state')->set('comment_test_links_alter_enabled', TRUE); }
/** * {@inheritdoc} */ protected function setUp() { $this->migrationConfiguration['highWaterProperty']['field'] = 'timestamp'; array_shift($this->expectedResults); parent::setUp(); }
/** * {@inheritdoc} */ protected function setUp() { $this->migrationConfiguration['source']['high_water_property']['name'] = 'timestamp'; array_shift($this->expectedResults); parent::setUp(); }