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: ...@@ -252,7 +252,7 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
label: Source label: Type
exclude: false exclude: false
alter: alter:
alter_text: false alter_text: false
...@@ -614,11 +614,11 @@ display: ...@@ -614,11 +614,11 @@ display:
exposed: true exposed: true
expose: expose:
operator_id: bundle_op operator_id: bundle_op
label: Source label: Type
description: '' description: ''
use_operator: false use_operator: false
operator: bundle_op operator: bundle_op
identifier: source identifier: type
required: false required: false
remember: false remember: false
multiple: false multiple: false
......
...@@ -36,7 +36,7 @@ public function testMediaOverviewPage() { ...@@ -36,7 +36,7 @@ public function testMediaOverviewPage() {
$assert_session->statusCodeEquals(200); $assert_session->statusCodeEquals(200);
$assert_session->titleEquals('Media | Drupal'); $assert_session->titleEquals('Media | Drupal');
$assert_session->fieldExists('Media name'); $assert_session->fieldExists('Media name');
$assert_session->selectExists('source'); $assert_session->selectExists('type');
$assert_session->selectExists('status'); $assert_session->selectExists('status');
$assert_session->selectExists('langcode'); $assert_session->selectExists('langcode');
$assert_session->buttonExists('Filter'); $assert_session->buttonExists('Filter');
...@@ -45,7 +45,7 @@ public function testMediaOverviewPage() { ...@@ -45,7 +45,7 @@ public function testMediaOverviewPage() {
$header = $assert_session->elementExists('css', 'th#view-name-table-column'); $header = $assert_session->elementExists('css', 'th#view-name-table-column');
$this->assertEquals('Media name', $header->getText()); $this->assertEquals('Media name', $header->getText());
$header = $assert_session->elementExists('css', 'th#view-bundle-table-column'); $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'); $header = $assert_session->elementExists('css', 'th#view-uid-table-column');
$this->assertEquals('Author', $header->getText()); $this->assertEquals('Author', $header->getText());
$header = $assert_session->elementExists('css', 'th#view-status-table-column'); $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