summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-05 15:28:33 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-12-11 12:02:12 +0100
commit5a03e0a5cf30f4ad5cecd7a90ad3bc2a004770aa (patch)
treee8429231ef714254ae135b4fb7dc3bb82e89ddfe /tests/data
parentee46548f57310b45ce723fd03ec29bfb686f8bc2 (diff)
downloadnextcloud-server-5a03e0a5cf30f4ad5cecd7a90ad3bc2a004770aa.tar.gz
nextcloud-server-5a03e0a5cf30f4ad5cecd7a90ad3bc2a004770aa.zip
adding dependency to owncloud version - with fallback to requiremin and requiremax
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/app/expected-info.json8
-rw-r--r--tests/data/app/valid-info.xml1
2 files changed, 8 insertions, 1 deletions
diff --git a/tests/data/app/expected-info.json b/tests/data/app/expected-info.json
index b899df7a8d6..ab4f103939a 100644
--- a/tests/data/app/expected-info.json
+++ b/tests/data/app/expected-info.json
@@ -60,6 +60,12 @@
},
"curl"
],
- "os": "Linux"
+ "os": "Linux",
+ "owncloud": {
+ "@attributes" : {
+ "min-version": "7.01",
+ "max-version": "8"
+ }
+ }
}
}
diff --git a/tests/data/app/valid-info.xml b/tests/data/app/valid-info.xml
index 42f4e3edb7f..4b22d55d7bc 100644
--- a/tests/data/app/valid-info.xml
+++ b/tests/data/app/valid-info.xml
@@ -29,5 +29,6 @@
<lib max-version="2.0">intl</lib>
<lib>curl</lib>
<os>Linux</os>
+ <owncloud min-version="7.0.1" max-version="8" />
</dependencies>
</info>