1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16821] Upgrade Symfony to the latest 5.x

PHPBB3-16821
This commit is contained in:
rxu
2021-07-15 20:03:31 +07:00
parent 460ed2ff31
commit 3c3d20d038
3 changed files with 305 additions and 218 deletions

View File

@@ -136,7 +136,10 @@ class phpbb_functional_extension_controller_test extends phpbb_functional_test_c
{
$crawler = self::request('GET', 'app.php/does/not/exist', array(), false);
$this->assert_response_html(404);
$this->assertStringContainsString('No route found for "GET /does/not/exist"', $crawler->filter('body')->text());
// Since version 5.3.0-BETA1, Symfony shows full URI when route not found. See https://github.com/symfony/symfony/pull/39893
$full_uri = self::$client->getRequest()->getUri();
$this->assertStringContainsString('No route found for "GET ' . $full_uri . '"', $crawler->filter('body')->text());
}
/**