summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-04-12 12:28:25 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-04-17 11:14:03 +0200
commit46d0d0cda14df17df3392e8233388d54e0be97dd (patch)
tree94407f8e2a7209a2cc8a2306c14ce55f3e343640 /tests/data
parent63dfbb2127ec9a930778dd5d31b640c5f2cc3652 (diff)
downloadnextcloud-server-46d0d0cda14df17df3392e8233388d54e0be97dd.tar.gz
nextcloud-server-46d0d0cda14df17df3392e8233388d54e0be97dd.zip
fix appinfo parsing when a single localized option is provided
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/app/description-multi-lang.xml8
-rw-r--r--tests/data/app/description-single-lang.xml7
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/data/app/description-multi-lang.xml b/tests/data/app/description-multi-lang.xml
new file mode 100644
index 00000000000..e7eee3bcb8b
--- /dev/null
+++ b/tests/data/app/description-multi-lang.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<info>
+ <id>files_encryption</id>
+ <name>Server-side Encryption</name>
+ <description lang="en">English</description>
+ <description lang="de">German</description>
+ <licence>AGPL</licence>
+</info>
diff --git a/tests/data/app/description-single-lang.xml b/tests/data/app/description-single-lang.xml
new file mode 100644
index 00000000000..5fb1ba07e8e
--- /dev/null
+++ b/tests/data/app/description-single-lang.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0"?>
+<info>
+ <id>files_encryption</id>
+ <name>Server-side Encryption</name>
+ <description lang="en">English</description>
+ <licence>AGPL</licence>
+</info>