aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/utils
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-02-01 20:33:58 +0100
committerArthurHoaro <arthur@hoa.ro>2016-02-15 21:38:40 +0100
commitbedd176a5406003631da42366736fd5ebae29135 (patch)
treeb7577d5f5fcb4534d293a4a6c59d84e8b0f48d42 /tests/utils
parent07c2f73543b358d39b3751c8542966794f28db03 (diff)
downloadShaarli-bedd176a5406003631da42366736fd5ebae29135.tar.gz
Shaarli-bedd176a5406003631da42366736fd5ebae29135.tar.zst
Shaarli-bedd176a5406003631da42366736fd5ebae29135.zip
Improved search: combine AND, exact terms and exclude search.
Diffstat (limited to 'tests/utils')
-rw-r--r--tests/utils/ReferenceLinkDB.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/utils/ReferenceLinkDB.php b/tests/utils/ReferenceLinkDB.php
index da3e8c65..b64b58bf 100644
--- a/tests/utils/ReferenceLinkDB.php
+++ b/tests/utils/ReferenceLinkDB.php
@@ -16,13 +16,22 @@ class ReferenceLinkDB
16 $this->addLink( 16 $this->addLink(
17 'Free as in Freedom 2.0', 17 'Free as in Freedom 2.0',
18 'https://static.fsf.org/nosvn/faif-2.0.pdf', 18 'https://static.fsf.org/nosvn/faif-2.0.pdf',
19 'Richard Stallman and the Free Software Revolution', 19 'Richard Stallman and the Free Software Revolution. Read this.',
20 0, 20 0,
21 '20150310_114633', 21 '20150310_114633',
22 'free gnu software stallman -exclude' 22 'free gnu software stallman -exclude'
23 ); 23 );
24 24
25 $this->addLink( 25 $this->addLink(
26 'Note:',
27 'local',
28 'Stallman has a beard and is part of the Free Software Foundation (or not). Seriously, read this.',
29 0,
30 '20150310_114651',
31 ''
32 );
33
34 $this->addLink(
26 'MediaGoblin', 35 'MediaGoblin',
27 'http://mediagoblin.org/', 36 'http://mediagoblin.org/',
28 'A free software media publishing platform', 37 'A free software media publishing platform',