You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (PHP_VERSION_ID < 80100 || !function_exists('React\Async\async')) {
@@ -1111,6 +1139,33 @@ public function testHandleRequestWithMatchingRouteReturnsPromiseWhichFulfillsWit
1111
1139
$this->assertStringContainsString("<p>Expected request handler to return <code>Psr\Http\Message\ResponseInterface</code> but got uncaught <code>RuntimeException</code> with message <code>Foo</code> in <code title=\"See " . __FILE__ . " line $line\">AppTest.php:$line</code>.</p>\n", (string) $response->getBody());
$this->assertStringContainsString("<title>Error 500: Internal Server Error</title>\n", (string) $response->getBody());
1165
+
$this->assertStringContainsString("<p>The requested page failed to load, please try again later.</p>\n", (string) $response->getBody());
1166
+
$this->assertStringContainsString("<p>Expected request handler to return <code>Psr\Http\Message\ResponseInterface</code> but got uncaught <code>RuntimeException</code> with message <code>Foo</code> in <code title=\"See " . __FILE__ . " line $line\">AppTest.php:$line</code>.</p>\n", (string) $response->getBody());
out=$(curl -v $base/error 2>&1); match "HTTP/.* 500"&& match -iP "Content-Type: text/html; charset=utf-8[\r\n]"&& match "<code>Unable to load error</code>"
27
27
out=$(curl -v $base/error/null 2>&1); match "HTTP/.* 500"&& match -iP "Content-Type: text/html; charset=utf-8[\r\n]"
28
28
29
-
out=$(curl -v $base/sleep/promise2>&1); match "HTTP/.* 200"&& match -iP "Content-Type: text/plain; charset=utf-8[\r\n]"
29
+
out=$(curl -v $base/sleep/fiber2>&1); match "HTTP/.* 200"&& match -iP "Content-Type: text/plain; charset=utf-8[\r\n]"
30
30
out=$(curl -v $base/sleep/coroutine 2>&1); match "HTTP/.* 200"&& match -iP "Content-Type: text/plain; charset=utf-8[\r\n]"
0 commit comments