1
0

bootstrap.php 426 B

123456789101112131415161718
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. if (!defined('PHPUNIT_RUN')) {
  8. define('PHPUNIT_RUN', 1);
  9. }
  10. require_once __DIR__ . '/../../../../lib/base.php';
  11. \OC::$composerAutoloader->addPsr4('Test\\', OC::$SERVERROOT . '/tests/lib/', true);
  12. \OC_App::loadApp('dav');
  13. OC_Hook::clear();