nextcloud/tests/lib/App/AppStore/Version/VersionTest.php
Ferdinand Thiessen 832f79ac93
chore: apply code style
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-30 19:04:59 +02:00

23 lines
552 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Test\App\AppStore\Version;
use OC\App\AppStore\Version\Version;
use Test\TestCase;
class VersionTest extends TestCase {
public function testGetMinimumVersion() {
$version = new Version('9', '10');
$this->assertSame('9', $version->getMinimumVersion());
}
public function testGetMaximumVersion() {
$version = new Version('9', '10');
$this->assertSame('10', $version->getMaximumVersion());
}
}