aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/utils/ReferenceLinkDB.php
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2016-02-15 21:43:07 +0100
committerArthur <arthur@hoa.ro>2016-02-15 21:43:07 +0100
commitbfec695df1205864b46ca7175e1598b184602687 (patch)
tree9d64988c49fd53978c58c64bbd013a363c5b2d78 /tests/utils/ReferenceLinkDB.php
parent07c2f73543b358d39b3751c8542966794f28db03 (diff)
parent522b278b03280ed809025ebbeb3eac284b68bf81 (diff)
downloadShaarli-bfec695df1205864b46ca7175e1598b184602687.tar.gz
Shaarli-bfec695df1205864b46ca7175e1598b184602687.tar.zst
Shaarli-bfec695df1205864b46ca7175e1598b184602687.zip
Merge pull request #455 from ArthurHoaro/improved-search-454
Improved search: combine AND, exact terms and exclude search.
Diffstat (limited to 'tests/utils/ReferenceLinkDB.php')
-rw-r--r--tests/utils/ReferenceLinkDB.php15
1 files changed, 12 insertions, 3 deletions
diff --git a/tests/utils/ReferenceLinkDB.php b/tests/utils/ReferenceLinkDB.php
index da3e8c65..61faef05 100644
--- a/tests/utils/ReferenceLinkDB.php
+++ b/tests/utils/ReferenceLinkDB.php
@@ -14,12 +14,21 @@ class ReferenceLinkDB
14 function __construct() 14 function __construct()
15 { 15 {
16 $this->addLink( 16 $this->addLink(
17 'Free as in Freedom 2.0', 17 'Free as in Freedom 2.0 @website',
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 stuff'
23 );
24
25 $this->addLink(
26 'Link title: @website',
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 'stuff'
23 ); 32 );
24 33
25 $this->addLink( 34 $this->addLink(