.
*/
namespace Test\PublicNamespace;
class UtilTest extends \Test\TestCase {
/**
* @dataProvider channelProvider
*
* @param string $channel
*/
public function testOverrideChannel($channel) {
\OCP\Util::setChannel($channel);
$actual = \OCP\Util::getChannel($channel);
$this->assertEquals($channel, $actual);
}
public function channelProvider() {
return [
['daily'],
['beta'],
['stable'],
['production']
];
}
}
h-10.1'>branch-10.1
blob: 86199db81b6ed779434a7f4652e1f6476958a587 (
plain)