summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-01-17 17:31:33 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-01-17 17:31:33 +0100
commita4759b31ddc8869392a42b1c6abc69d1250fde97 (patch)
tree2480f55533cdb3faa4ad5189a9c32c68e08dd52b /tests
parent2030f8fa9b2ee5dd07bebb6bd11cdeb3e81174f7 (diff)
show text preview in compact mode
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/db/ItemTest.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/unit/db/ItemTest.php b/tests/unit/db/ItemTest.php
index 831b8d624..06ef0e6d3 100644
--- a/tests/unit/db/ItemTest.php
+++ b/tests/unit/db/ItemTest.php
@@ -100,7 +100,7 @@ class ItemTest extends \PHPUnit_Framework_TestCase {
$item->setTitle('title');
$item->setAuthor('author');
$item->setPubDate(123);
- $item->setBody('body');
+ $item->setBody('<body><div>this is a test</body>');
$item->setEnclosureMime('audio/ogg');
$item->setEnclosureLink('enclink');
$item->setFeedId(1);
@@ -118,14 +118,15 @@ class ItemTest extends \PHPUnit_Framework_TestCase {
'title' => 'title',
'author' => 'author',
'pubDate' => 123,
- 'body' => 'body',
+ 'body' => '<body><div>this is a test</body>',
'enclosureMime' => 'audio/ogg',
'enclosureLink' => 'enclink',
'feedId' => 1,
'unread' => true,
'starred' => true,
'lastModified' => 321,
- 'rtl' => true
+ 'rtl' => true,
+ 'intro' => 'this is a test'
], $item->jsonSerialize());
}