summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/Unit/Db/ItemTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Unit/Db/ItemTest.php b/tests/Unit/Db/ItemTest.php
index 80e3d630f..e5a2c844d 100644
--- a/tests/Unit/Db/ItemTest.php
+++ b/tests/Unit/Db/ItemTest.php
@@ -244,8 +244,9 @@ class ItemTest extends TestCase
$item->setUrl('http://link');
$item->setAuthor('äuthor');
$item->setTitle('<a>t&auml;tle</a>');
+ $item->setCategories(['food', 'travel']);
$item->generateSearchIndex();
- $expected = 'somethängäuthortätlehttp://link';
+ $expected = 'somethängäuthortätlefoodtravelhttp://link';
$this->assertEquals($expected, $item->getSearchIndex());
}