summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-07-29 09:26:25 +0200
committerGitHub <noreply@github.com>2016-07-29 09:26:25 +0200
commit54ae8eede39e58c890a42b44505a254fc5f94765 (patch)
tree66287f0ed6570034152f36a3a9deb0a446940a54 /tests
parent937577f7bcdb779b06316487e054f1183df3d13f (diff)
parent0fcc39cd8ec7ad1ecba62ef16bb7a884fb3e9377 (diff)
downloadnextcloud-server-54ae8eede39e58c890a42b44505a254fc5f94765.tar.gz
nextcloud-server-54ae8eede39e58c890a42b44505a254fc5f94765.zip
Merge pull request #556 from nextcloud/nextcloud-version-check
Allow apps to check for a given nextcloud version
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/App/DependencyAnalyzerTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/App/DependencyAnalyzerTest.php b/tests/lib/App/DependencyAnalyzerTest.php
index 3f410444f47..684a1b52259 100644
--- a/tests/lib/App/DependencyAnalyzerTest.php
+++ b/tests/lib/App/DependencyAnalyzerTest.php
@@ -16,7 +16,7 @@ use Test\TestCase;
class DependencyAnalyzerTest extends TestCase {
- /** @var Platform */
+ /** @var Platform|\PHPUnit_Framework_MockObject_MockObject */
private $platformMock;
/** @var IL10N */
@@ -206,6 +206,8 @@ class DependencyAnalyzerTest extends TestCase {
array(array(), array('@attributes' => array('min-version' => '8.0.2', 'max-version' => '8.0.2'))),
array(array('Server version 8.0.3 or higher is required.'), array('@attributes' => array('min-version' => '8.0.3'))),
array(array('Server version 9 or higher is required.'), array('@attributes' => array('min-version' => '9'))),
+ array(array('Server version 10 or higher is required.'), array('@attributes' => array('min-version' => '9.1'))),
+ array(array('Server version 11 or higher is required.'), array('@attributes' => array('min-version' => '9.2'))),
[['Server version 8.0.1 or lower is required.'], ['@attributes' => ['max-version' => '8.0.1']]],
);
}