X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Futils%2FReferenceLinkDB.php;h=dc4f5dfa98ccb7e1fbd28decd67417ca93d46dfa;hb=89baf23ddfaf82cc663e26f76c307ef8e4bf4b02;hp=61faef0575dcdd75faea3e003c01617e7f01bf03;hpb=82e3680203896f024958ae969e2c4fccee9682f4;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/utils/ReferenceLinkDB.php b/tests/utils/ReferenceLinkDB.php index 61faef05..dc4f5dfa 100644 --- a/tests/utils/ReferenceLinkDB.php +++ b/tests/utils/ReferenceLinkDB.php @@ -4,6 +4,8 @@ */ class ReferenceLinkDB { + public static $NB_LINKS_TOTAL = 7; + private $_links = array(); private $_publicCount = 0; private $_privateCount = 0; @@ -13,6 +15,15 @@ class ReferenceLinkDB */ function __construct() { + $this->addLink( + 'Link title: @website', + '?WDWyig', + 'Stallman has a beard and is part of the Free Software Foundation (or not). Seriously, read this.', + 0, + '20150310_114651', + 'stuff' + ); + $this->addLink( 'Free as in Freedom 2.0 @website', 'https://static.fsf.org/nosvn/faif-2.0.pdf', @@ -22,15 +33,6 @@ class ReferenceLinkDB 'free gnu software stallman -exclude stuff' ); - $this->addLink( - 'Link title: @website', - 'local', - 'Stallman has a beard and is part of the Free Software Foundation (or not). Seriously, read this.', - 0, - '20150310_114651', - 'stuff' - ); - $this->addLink( 'MediaGoblin', 'http://mediagoblin.org/',