summaryrefslogtreecommitdiffstats
path: root/tests/integration/fixtures/data/default.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/fixtures/data/default.php')
-rw-r--r--tests/integration/fixtures/data/default.php74
1 files changed, 74 insertions, 0 deletions
diff --git a/tests/integration/fixtures/data/default.php b/tests/integration/fixtures/data/default.php
new file mode 100644
index 000000000..b314d9496
--- /dev/null
+++ b/tests/integration/fixtures/data/default.php
@@ -0,0 +1,74 @@
+<?php
+/**
+ * ownCloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright Bernhard Posselt 2015
+ */
+
+return [
+ 'folders' => [
+ [
+ 'name' => 'first folder',
+ 'feeds' => [
+ [
+ 'title' => 'first feed',
+ 'url' => 'http://google.de',
+ 'items' => [
+ ['title' => 'a title1'],
+ ['title' => 'a title2', 'status' => 4],
+ ['title' => 'a title3', 'status' => 6],
+ ['title' => 'del1', 'status' => 0],
+ ['title' => 'del2', 'status' => 0],
+ ['title' => 'del3', 'status' => 0],
+ ['title' => 'del4', 'status' => 0]
+ ]
+ ],
+ [
+ 'title' => 'second feed',
+ 'url' => 'http://golem.de',
+ 'items' => []
+ ],
+ ],
+ ],
+ [
+ 'name' => 'second folder',
+ 'feeds' => [
+ [
+ 'title' => 'third feed',
+ 'url' => 'http://heise.de',
+ 'items' => [['title' => 'the title9']]
+ ],
+ [
+ 'title' => 'sixth feed',
+ 'url' => 'http://gremlins.de',
+ 'deletedAt' => 999999999,
+ 'items' => [['title' => 'not found feed']]
+ ]
+ ],
+ ],
+ [
+ 'name' => 'third folder',
+ 'deletedAt' => 9999999999,
+ 'feeds' => [
+ [
+ 'title' => 'fifth feed',
+ 'url' => 'http://prolinux.de',
+ 'items' => [['title' => 'not found folder']]
+ ]
+ ],
+ ]
+ ],
+ 'feeds' => [
+ [
+ 'title' => 'fourth feed',
+ 'url' => 'http://blog.fefe.de',
+ 'items' => [
+ ['title' => 'no folder', 'status' => 0]
+ ]
+ ]
+ ]
+]; \ No newline at end of file