aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/features/bootstrap/DavFeatureContext.php
blob: acca52ccafcbd2f2125115104fdcf31a0a2969eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */

use Behat\Behat\Context\Context;
use Behat\Behat\Context\SnippetAcceptingContext;

require __DIR__ . '/../../vendor/autoload.php';

class DavFeatureContext implements Context, SnippetAcceptingContext {
	use AppConfiguration;
	use ContactsMenu;
	use ExternalStorage;
	use Search;
	use WebDav;
	use Trashbin;

	protected function resetAppConfigs() {
		$this->deleteServerConfig('files_sharing', 'outgoing_server2server_share_enabled');
	}
}