test: Reset sharing app config after test

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2025-01-22 19:35:06 +01:00
parent b30b1de680
commit eaf3dcc2b9
No known key found for this signature in database
GPG key ID: 45FAE7268762B400

View file

@ -46,6 +46,7 @@ class SharingContext implements Context, SnippetAcceptingContext {
$this->deleteServerConfig('core', 'shareapi_default_expire_date');
$this->deleteServerConfig('core', 'shareapi_expire_after_n_days');
$this->deleteServerConfig('core', 'link_defaultExpDays');
$this->deleteServerConfig('files_sharing', 'outgoing_server2server_share_enabled');
$this->runOcc(['config:system:delete', 'share_folder']);
}