From 09c959d57337e88d91bc5e9f7b398253ff5981c4 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 23 Dec 2024 11:31:40 +0100 Subject: [PATCH] test: fix missing origin header for login Signed-off-by: Joas Schilling --- tests/integration/features/bootstrap/SharingContext.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/features/bootstrap/SharingContext.php b/tests/integration/features/bootstrap/SharingContext.php index ee113c09c03..a11deb950f4 100644 --- a/tests/integration/features/bootstrap/SharingContext.php +++ b/tests/integration/features/bootstrap/SharingContext.php @@ -951,6 +951,9 @@ private function loggingInUsingWebAs(string $user) { 'requesttoken' => $requestToken, ], 'cookies' => $cookieJar, + 'headers' => [ + 'Origin' => $this->baseUrl, + ], ] ); $requestToken = $this->extractRequestTokenFromResponse($response);