0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-04-29 03:20:29 +00:00
nextcloud_server/tests/lib/App/AppStore/Version/VersionTest.php
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 22:32:31 +02:00

22 lines
563 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(): void {
$version = new Version('9', '10');
$this->assertSame('9', $version->getMinimumVersion());
}
public function testGetMaximumVersion(): void {
$version = new Version('9', '10');
$this->assertSame('10', $version->getMaximumVersion());
}
}