diff --git a/tests/src/Functional/ExamplesTest.php b/tests/src/Functional/ExamplesTest.php index 66c35a0..c3536b8 100644 --- a/tests/src/Functional/ExamplesTest.php +++ b/tests/src/Functional/ExamplesTest.php @@ -48,8 +48,10 @@ class ExamplesTest extends ExamplesBrowserTestBase { \count($this->xpath('//nav/div/div[@data-toolbar-tray="toolbar-item-examples-tray"]')), 'Found the Examples toolbar tray.' ); + // Assert that PHPUnit link does not appears in the tray. - $assert->linkNotExists('PHPUnit example'); + $phpunit_link = 'PHPUnit Example'; + $assert->linkNotExists($phpunit_link); $assert->pageTextNotContains('