Skip to content
Snippets Groups Projects
Commit ec963691 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2598178 by krknth, xjm: Remove unneeded settings in...

Issue #2598178 by krknth, xjm: Remove unneeded settings in core/modules/file/src/Tests/FileFieldRSSContentTest.php
parent 90672068
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -30,15 +30,8 @@ function testFileFieldRSSContent() {
$node_storage = $this->container->get('entity.manager')->getStorage('node');
$field_name = strtolower($this->randomMachineName());
$type_name = 'article';
$field_settings = array(
'display_field' => '1',
'display_default' => '1',
);
$field_settings = array(
'description_field' => '1',
);
$widget_settings = array();
$this->createFileField($field_name, 'node', $type_name, $field_settings, $field_settings, $widget_settings);
$this->createFileField($field_name, 'node', $type_name);
// RSS display must be added manually.
$this->drupalGet("admin/structure/types/manage/$type_name/display");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment