Commit af0f5628 authored by catch's avatar catch

Issue #2209015 by longwave, awochna: Aggregator Doesn't Show Up In admin/config.

parent 6c1f8ce9
......@@ -96,6 +96,7 @@ function aggregator_menu_link_defaults() {
'link_title' => 'Feed aggregator',
'description' => "Configure which content your site aggregates from other sites, how often it polls them, and how they're categorized.",
'route_name' => 'aggregator.admin_overview',
'parent' => 'system.admin.config.services',
'weight' => 10,
);
$links['aggregator'] = array(
......
......@@ -23,7 +23,9 @@ public static function getInfo() {
* Tests the settings form to ensure the correct default values are used.
*/
function testSettingsPage() {
$this->drupalGet('admin/config/services/aggregator/settings');
$this->drupalGet('admin/config');
$this->clickLink('Feed aggregator');
$this->clickLink('Settings');
// Make sure that test plugins are present.
$this->assertText('Test fetcher');
$this->assertText('Test parser');
......
......@@ -31,7 +31,7 @@ function setUp() {
$this->drupalCreateContentType(array('type' => 'article', 'name' => 'Article'));
}
$web_user = $this->drupalCreateUser(array('administer news feeds', 'access news feeds', 'create article content'));
$web_user = $this->drupalCreateUser(array('access administration pages', 'administer news feeds', 'access news feeds', 'create article content'));
$this->drupalLogin($web_user);
}
......
......@@ -267,9 +267,6 @@ public function flush($path = NULL) {
drupal_theme_rebuild();
// Clear page caches when flushing.
if ($module_handler->moduleExists('block')) {
\Drupal::cache('block')->deleteAll();
}
\Drupal::cache('page')->deleteAll();
return $this;
}
......
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