Skip to content
Snippets Groups Projects
Unverified Commit df754509 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2972531 by vaplas, alexpott: Random fail in TipPluginTextTest

parent 89a7f66b
No related branches found
No related tags found
No related merge requests found
......@@ -15,10 +15,13 @@ class TipPluginTextTest extends UnitTestCase {
* Tests that getAriaId returns unique id per plugin instance.
*
* @see \Drupal\tour\Plugin\tour\tip\TipPluginText::getAriaId()
* @runTestsInSeparateProcesses
* This test calls \Drupal\Component\Utility\Html::getUniqueId() which uses a
* static list. Run this test in a separate process to prevent side effects.
*/
public function testGetAriaId() {
$id_instance_one = $this->getRandomGenerator()->word(4, TRUE);
$id_instance_two = $this->getRandomGenerator()->word(4, TRUE);
$id_instance_one = 'one';
$id_instance_two = 'two';
$config_instance_one = [
'id' => $id_instance_one,
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment