diff options
author | Julius Knorr <jus@bitgrid.net> | 2024-09-17 22:38:44 +0200 |
---|---|---|
committer | Julius Knorr <jus@bitgrid.net> | 2024-09-20 14:53:34 +0200 |
commit | 606241caebda2e01702c0d08adbc35ace8d01f13 (patch) | |
tree | da9cc49d1079724a9192f89415c594b97db93aa9 /tests/lib/PublicNamespace/UtilTest.php | |
parent | 7ff911665e7507a800e05fe9cd80e0304cd11dbc (diff) | |
download | nextcloud-server-clean/version-ocp.tar.gz nextcloud-server-clean/version-ocp.zip |
chore(legacy): Introduce public version ct plass and drop version methods from OC_Utilclean/version-ocp
Signed-off-by: Julius Knorr <jus@bitgrid.net>
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'] - ]; - } -} |