Skip to content
Snippets Groups Projects
Commit aa786980 authored by Adam G-H's avatar Adam G-H
Browse files

Rephrase comment

parent 64e57b67
No related branches found
No related tags found
1 merge request!164Issue #3258056: Simplify Stage::dispatch exception handling
This commit is part of merge request !164. Comments created here will be created in the context of that merge request.
......@@ -190,8 +190,8 @@ class UpdaterFormTest extends AutomaticUpdatesFunctionalTestBase {
$assert_session->pageTextContainsOnce('An error has occurred.');
$page->clickLink('the error page');
// We should see the exception message, but not the validation result's
// messages or summary, because all exceptions thrown directly by event
// subscribers are wrapped in simple runtime exceptions and re-thrown.
// messages or summary, because exceptions thrown directly by event
// subscribers are wrapped in simple exceptions and re-thrown.
$assert_session->pageTextContainsOnce($error->getMessage());
$assert_session->pageTextNotContains((string) $expected_results[0]->getMessages()[0]);
$assert_session->pageTextNotContains($expected_results[0]->getSummary());
......
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