1
0

DavFeatureContext.php 574 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. use Behat\Behat\Context\Context;
  7. use Behat\Behat\Context\SnippetAcceptingContext;
  8. require __DIR__ . '/../../vendor/autoload.php';
  9. class DavFeatureContext implements Context, SnippetAcceptingContext {
  10. use AppConfiguration;
  11. use ContactsMenu;
  12. use ExternalStorage;
  13. use Search;
  14. use WebDav;
  15. use Trashbin;
  16. protected function resetAppConfigs() {
  17. $this->deleteServerConfig('files_sharing', 'outgoing_server2server_share_enabled');
  18. }
  19. }