Commit 31afc028 authored by catch's avatar catch

Issue #2861067 by vaplas: Random fail in...

Issue #2861067 by vaplas: Random fail in Drupal\aggregator\Tests\FeedAdminDisplayTest::testFeedUpdateFields
parent 6578474f
......@@ -60,4 +60,14 @@ public function testFeedUpdateFields() {
$this->assertNoText('left', 'The feed is not scheduled. It does not show a timeframe "x x left" for next update.');
* {@inheritdoc}
public function randomMachineName($length = 8) {
$value = parent::randomMachineName($length);
// See expected values in testFeedUpdateFields().
$value = str_replace(['never', 'imminently', 'ago', 'left'], 'x', $value);
return $value;
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