diff options
Diffstat (limited to 'tests/lib/PublicNamespace/UtilTest.php')
-rw-r--r-- | tests/lib/PublicNamespace/UtilTest.php | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/lib/PublicNamespace/UtilTest.php b/tests/lib/PublicNamespace/UtilTest.php deleted file mode 100644 index 4fa31bd902a..00000000000 --- a/tests/lib/PublicNamespace/UtilTest.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -/** - * SPDX-FileCopyrightText: 2018-2024 Nextcloud GmbH and Nextcloud contributors - * SPDX-FileCopyrightText: 2016 ownCloud, Inc. - * SPDX-License-Identifier: AGPL-3.0-or-later - */ - -namespace Test\PublicNamespace; - -class UtilTest extends \Test\TestCase { - /** - * @dataProvider channelProvider - * - * @param string $channel - */ - public function testOverrideChannel($channel): void { - \OCP\Util::setChannel($channel); - $actual = \OCP\Util::getChannel($channel); - $this->assertEquals($channel, $actual); - } - - public function channelProvider() { - return [ - ['daily'], - ['beta'], - ['stable'], - ['production'] - ]; - } -} |