aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-12-01 17:35:28 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-12-04 11:40:33 +0100
commitf74d568bdac14390a787a71f91571d84662f1fbe (patch)
treeccd9fd4737965ca785f4806319fe6364dd40d7e6 /tests/data
parent40e03ba314fce481c58d92da7070d72c4226c95c (diff)
downloadnextcloud-server-f74d568bdac14390a787a71f91571d84662f1fbe.tar.gz
nextcloud-server-f74d568bdac14390a787a71f91571d84662f1fbe.zip
adding new dependency for php version in apps info.xml
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/app/expected-info.json7
-rw-r--r--tests/data/app/valid-info.xml3
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/data/app/expected-info.json b/tests/data/app/expected-info.json
index c67d6d657d2..50e81a48fd2 100644
--- a/tests/data/app/expected-info.json
+++ b/tests/data/app/expected-info.json
@@ -15,5 +15,10 @@
},
"rememberlogin": "false",
"types": ["filesystem"],
- "ocsid": "166047"
+ "ocsid": "166047",
+ "dependencies": {
+ "php": {
+ "min-version": 5.4
+ }
+ }
}
diff --git a/tests/data/app/valid-info.xml b/tests/data/app/valid-info.xml
index 6fcef693bed..81abb276902 100644
--- a/tests/data/app/valid-info.xml
+++ b/tests/data/app/valid-info.xml
@@ -19,4 +19,7 @@
<filesystem/>
</types>
<ocsid>166047</ocsid>
+ <dependencies>
+ <php><min-version>5.4</min-version></php>
+ </dependencies>
</info>