diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-12-02 15:14:48 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-12-04 11:40:33 +0100 |
commit | b55ac514ac8a555e0fa14a391fec02d4c675748f (patch) | |
tree | 60efea200403480ee8824d2df2f2d0dd429bf1e9 /tests/data | |
parent | eb81c52b9517321fb6e8da4c80f04f43ed96e3f7 (diff) | |
download | nextcloud-server-b55ac514ac8a555e0fa14a391fec02d4c675748f.tar.gz nextcloud-server-b55ac514ac8a555e0fa14a391fec02d4c675748f.zip |
no nested xml tags on dependencies
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/app/expected-info.json | 18 | ||||
-rw-r--r-- | tests/data/app/valid-info.xml | 6 |
2 files changed, 10 insertions, 14 deletions
diff --git a/tests/data/app/expected-info.json b/tests/data/app/expected-info.json index 8ab6e48ac6d..fc0ab224977 100644 --- a/tests/data/app/expected-info.json +++ b/tests/data/app/expected-info.json @@ -23,16 +23,14 @@ "max-version": "5.5" } }, - "databases": { - "database": [ - { - "@attributes" : { - "min-version": "3.0" - }, - "@value": "sqlite"}, - "mysql" - ] - }, + "database": [ + { + "@attributes" : { + "min-version": "3.0" + }, + "@value": "sqlite"}, + "mysql" + ], "command": [ { "@attributes" : { diff --git a/tests/data/app/valid-info.xml b/tests/data/app/valid-info.xml index 354a39832fb..f01f5fd55ea 100644 --- a/tests/data/app/valid-info.xml +++ b/tests/data/app/valid-info.xml @@ -21,10 +21,8 @@ <ocsid>166047</ocsid> <dependencies> <php min-version="5.4" max-version="5.5"/> - <databases> - <database min-version="3.0">sqlite</database> - <database>mysql</database> - </databases> + <database min-version="3.0">sqlite</database> + <database>mysql</database> <command os="linux">grep</command> <command os="windows">notepad.exe</command> </dependencies> |