From f57e233e2732864222d7fbbd52e43bb80c1e1f47 Mon Sep 17 00:00:00 2001 From: catch <6915-catch@users.noreply.drupalcode.org> Date: Fri, 9 Aug 2024 17:48:23 +0900 Subject: [PATCH] Issue #3466822 by longwave, mondrake: WebAssertTest fails on 10.x (cherry picked from commit 03d009639e1702007b354403c211768c0f326662) --- core/tests/Drupal/Tests/Core/Test/WebAssertTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/tests/Drupal/Tests/Core/Test/WebAssertTest.php b/core/tests/Drupal/Tests/Core/Test/WebAssertTest.php index 57e66d6b8524..545f7b404b0a 100644 --- a/core/tests/Drupal/Tests/Core/Test/WebAssertTest.php +++ b/core/tests/Drupal/Tests/Core/Test/WebAssertTest.php @@ -452,11 +452,11 @@ public function testEscapingAssertions(): void { */ class MockClient extends AbstractBrowser { - public function setExpectedResponse(Response $response) { + public function setExpectedResponse(Response $response): void { $this->response = $response; } - protected function doRequest(object $request) { + protected function doRequest(object $request): object { return $this->response ?? new Response(); } -- GitLab