Skip to content

Commit d98b1fe

Browse files
committed
fix: Run integration tests in debug mode
And ensure all headers are available in debug mode Signed-off-by: Carl Schwan <[email protected]>
1 parent 5f6e6b3 commit d98b1fe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apps/dav/lib/Connector/Sabre/ServerFactory.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,7 @@ public function createServer(
162162
$this->userSession,
163163
\OCP\Server::get(IFilenameValidator::class),
164164
\OCP\Server::get(IAccountManager::class),
165-
$isPublicShare,
166-
!$debugEnabled
165+
$isPublicShare
167166
)
168167
);
169168
$server->addPlugin(new QuotaPlugin($view));

apps/dav/lib/Server.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ public function __construct(
301301
\OCP\Server::get(IFilenameValidator::class),
302302
\OCP\Server::get(IAccountManager::class),
303303
false,
304-
$config->getSystemValueBool('debug', false) === false,
305304
)
306305
);
307306
$this->server->addPlugin(new ChecksumUpdatePlugin());

build/integration/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ INSTALLED=$($OCC status | grep installed: | cut -d " " -f 5)
2626
if [ "$INSTALLED" == "true" ]; then
2727
# Disable appstore to avoid spamming from CI
2828
$OCC config:system:set appstoreenabled --value=false --type=boolean
29+
# Enable debug mode
30+
$OCC config:system:set debug --value=true --type=boolean
2931
# Disable bruteforce protection because the integration tests do trigger them
3032
$OCC config:system:set auth.bruteforce.protection.enabled --value false --type bool
3133
# Disable rate limit protection because the integration tests do trigger them

0 commit comments

Comments
 (0)