Commit ec31a141 authored by xjm's avatar xjm

Issue #2934649 by chr.fritsch, marcoscano: Fix wrong header "Source" on media overview page

parent b022734b
......@@ -252,7 +252,7 @@ display:
relationship: none
group_type: group
admin_label: ''
label: Source
label: Type
exclude: false
alter:
alter_text: false
......@@ -614,11 +614,11 @@ display:
exposed: true
expose:
operator_id: bundle_op
label: Source
label: Type
description: ''
use_operator: false
operator: bundle_op
identifier: source
identifier: type
required: false
remember: false
multiple: false
......
......@@ -36,7 +36,7 @@ public function testMediaOverviewPage() {
$assert_session->statusCodeEquals(200);
$assert_session->titleEquals('Media | Drupal');
$assert_session->fieldExists('Media name');
$assert_session->selectExists('source');
$assert_session->selectExists('type');
$assert_session->selectExists('status');
$assert_session->selectExists('langcode');
$assert_session->buttonExists('Filter');
......@@ -45,7 +45,7 @@ public function testMediaOverviewPage() {
$header = $assert_session->elementExists('css', 'th#view-name-table-column');
$this->assertEquals('Media name', $header->getText());
$header = $assert_session->elementExists('css', 'th#view-bundle-table-column');
$this->assertEquals('Source', $header->getText());
$this->assertEquals('Type', $header->getText());
$header = $assert_session->elementExists('css', 'th#view-uid-table-column');
$this->assertEquals('Author', $header->getText());
$header = $assert_session->elementExists('css', 'th#view-status-table-column');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment