diff -u b/core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php b/core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php --- b/core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php +++ b/core/modules/aggregator/src/Tests/FeedAdminDisplayTest.php @@ -31,7 +31,6 @@ $this->assertNoText('ago', 'The scheduled feed has not been updated yet. Last update does not show "x x ago".'); $this->assertNoText('left', 'The scheduled feed has not been updated yet. Next update does not show "x x left".'); - $this->updateFeedItems($scheduled_feed); $this->drupalGet('admin/config/services/aggregator'); @@ -42,11 +41,10 @@ $this->assertText('ago', 'The scheduled feed been updated. Last update shows "x x ago".'); $this->assertText('left', 'The scheduled feed has been updated. Next update shows "x x left".'); - - // Delete scheduled feed + // Delete scheduled feed. $this->deleteFeed($scheduled_feed); - // Create non-scheduled feed + // Create non-scheduled feed. $non_scheduled_feed = $this->createFeed(NULL, array('refresh' => '0')); $this->drupalGet('admin/config/services/aggregator'); @@ -60,12 +58,10 @@ $this->drupalGet('admin/config/services/aggregator'); - // After the feed update, we still need to see "never" as next update - // label. Last update will show an interval. + // After the feed update, we still need to see "never" as next update label. + // Last update will show an interval. $this->assertNoText('imminently', 'The updated non scheduled feed does not show "imminently" as next update.'); $this->assertText('never', 'The updated non scheduled feed still shows "never" as next update.'); $this->assertText('ago', 'The non scheduled feed has been updated. It shows "x x ago" as last update.'); $this->assertNoText('left', 'The feed is not scheduled. It does not show a timeframe "x x left" for next update.'); - - } }