aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2025-06-17 20:25:32 +0200
committerDaniel Kesselberg <mail@danielkesselberg.de>2025-06-17 20:25:32 +0200
commit97121fc16a25ac9719fc421afcf9724b2e57f464 (patch)
tree599c7150ff3790adbdd44736c40a5133a016fd56
parentdd0213056c33fbfdf492d0ceb4eff541ab08b095 (diff)
downloadnextcloud-server-backport/53369/stable30.tar.gz
nextcloud-server-backport/53369/stable30.zip
fixup! test(dav): add integration test for principal property searchbackport/53369/stable30
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-rw-r--r--apps/testing/lib/AppInfo/Application.php1
-rw-r--r--build/integration/features/bootstrap/PrincipalPropertySearchContext.php5
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/testing/lib/AppInfo/Application.php b/apps/testing/lib/AppInfo/Application.php
index b0463cec09c..1441822866b 100644
--- a/apps/testing/lib/AppInfo/Application.php
+++ b/apps/testing/lib/AppInfo/Application.php
@@ -1,4 +1,5 @@
<?php
+
/**
* SPDX-FileCopyrightText: 2017-2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud GmbH
diff --git a/build/integration/features/bootstrap/PrincipalPropertySearchContext.php b/build/integration/features/bootstrap/PrincipalPropertySearchContext.php
index 27a4c314900..064ff79dbd3 100644
--- a/build/integration/features/bootstrap/PrincipalPropertySearchContext.php
+++ b/build/integration/features/bootstrap/PrincipalPropertySearchContext.php
@@ -1,4 +1,5 @@
<?php
+
/**
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
@@ -120,8 +121,8 @@ class PrincipalPropertySearchContext implements Context {
* @throws \Exception
*/
public function theHttpStatusCodeShouldBe(string $code): void {
- if ((int)$code !== $this->response->getStatusCode()) {
- throw new \Exception('Expected ' . (int)$code . ' got ' . $this->response->getStatusCode());
+ if ((int) $code !== $this->response->getStatusCode()) {
+ throw new \Exception('Expected ' . (int) $code . ' got ' . $this->response->getStatusCode());
}
}