]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/utils/ReferenceLinkDB.php
FeedBuilder unit tests
[github/shaarli/Shaarli.git] / tests / utils / ReferenceLinkDB.php
index 61faef0575dcdd75faea3e003c01617e7f01bf03..dc4f5dfa98ccb7e1fbd28decd67417ca93d46dfa 100644 (file)
@@ -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/',