From fdbc39c7db437c364eaad5d3c772804db212d554 Mon Sep 17 00:00:00 2001 From: nextcloud-command Date: Sun, 22 Dec 2024 02:58:33 +0000 Subject: [PATCH 1/2] chore(dev-deps): Bump nextcloud/ocp package Signed-off-by: GitHub --- composer.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.lock b/composer.lock index 9303a886547..5080fe038ca 100644 --- a/composer.lock +++ b/composer.lock @@ -306,12 +306,12 @@ "source": { "type": "git", "url": "https://github.com/nextcloud-deps/ocp.git", - "reference": "a953c9a7eecc888d747b53ce3f08aafb119e483f" + "reference": "15a749fe867b97ae5e699a3ce9e1d50a792c1777" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/a953c9a7eecc888d747b53ce3f08aafb119e483f", - "reference": "a953c9a7eecc888d747b53ce3f08aafb119e483f", + "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/15a749fe867b97ae5e699a3ce9e1d50a792c1777", + "reference": "15a749fe867b97ae5e699a3ce9e1d50a792c1777", "shasum": "" }, "require": { @@ -347,7 +347,7 @@ "issues": "https://github.com/nextcloud-deps/ocp/issues", "source": "https://github.com/nextcloud-deps/ocp/tree/master" }, - "time": "2024-12-11T00:48:24+00:00" + "time": "2024-12-21T00:43:01+00:00" }, { "name": "psr/clock", From 09c959d57337e88d91bc5e9f7b398253ff5981c4 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 23 Dec 2024 11:31:40 +0100 Subject: [PATCH 2/2] 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);