Commit 9a389442 authored by catch's avatar catch

Issue #2901778 by xjm, jibran, annajl: Provide correct display name and title...

Issue #2901778 by xjm, jibran, annajl: Provide correct display name and title for comment admin view displays
parent 5c2593d1
......@@ -854,10 +854,10 @@ display:
cacheable: false
max-age: 0
tags: { }
page_1:
page_published:
display_plugin: page
id: page_1
display_title: 'Published Comments'
id: page_published
display_title: 'Published comments'
position: 1
display_options:
path: admin/content/comment
......@@ -883,10 +883,10 @@ display:
cacheable: false
max-age: 0
tags: { }
page_2:
page_unapproved:
display_plugin: page
id: page_2
display_title: 'Unapproved Comments'
id: page_unapproved
display_title: 'Unapproved comments'
position: 2
display_options:
path: admin/content/comment/approval
......
......@@ -126,13 +126,13 @@ protected function setUp($import_test_views = TRUE) {
* Tests comment admin view filters.
*/
public function testFilters() {
$this->doTestFilters('page_1');
$this->doTestFilters('page_published');
// Unpublish the comments to test the Unapproved comments tab.
foreach ($this->comments as $comment) {
$comment->setUnpublished();
$comment->save();
}
$this->doTestFilters('page_2');
$this->doTestFilters('page_unapproved');
}
/**
......
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