Compare commits

...

1 Commits

Author SHA1 Message Date
Carl Schwan d98b1fe67d fix: Run integration tests in debug mode
And ensure all headers are available in debug mode

Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
2025-12-17 10:25:27 +01:00
3 changed files with 3 additions and 3 deletions
@@ -162,8 +162,7 @@ class ServerFactory {
$this->userSession,
\OCP\Server::get(IFilenameValidator::class),
\OCP\Server::get(IAccountManager::class),
$isPublicShare,
!$debugEnabled
$isPublicShare
)
);
$server->addPlugin(new QuotaPlugin($view));
-1
View File
@@ -301,7 +301,6 @@ class Server {
\OCP\Server::get(IFilenameValidator::class),
\OCP\Server::get(IAccountManager::class),
false,
$config->getSystemValueBool('debug', false) === false,
)
);
$this->server->addPlugin(new ChecksumUpdatePlugin());
+2
View File
@@ -26,6 +26,8 @@ INSTALLED=$($OCC status | grep installed: | cut -d " " -f 5)
if [ "$INSTALLED" == "true" ]; then
# Disable appstore to avoid spamming from CI
$OCC config:system:set appstoreenabled --value=false --type=boolean
# Enable debug mode
$OCC config:system:set debug --value=true --type=boolean
# Disable bruteforce protection because the integration tests do trigger them
$OCC config:system:set auth.bruteforce.protection.enabled --value false --type bool
# Disable rate limit protection because the integration tests do trigger them