1
0

EnvironmentHelperTest.php 645 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace Test\IntegrityCheck\Helpers;
  8. use OC\IntegrityCheck\Helpers\EnvironmentHelper;
  9. use Test\TestCase;
  10. class EnvironmentHelperTest extends TestCase {
  11. /** @var EnvironmentHelper */
  12. private $environmentHelper;
  13. protected function setUp(): void {
  14. $this->environmentHelper = new EnvironmentHelper();
  15. parent::setUp();
  16. }
  17. public function testGetServerRoot(): void {
  18. $this->assertSame(\OC::$SERVERROOT, $this->environmentHelper->getServerRoot());
  19. }
  20. }