X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2Futils%2FReferenceHistory.php;h=aed5d2cf1a8baa85f16d8c53dff653f8cf98345c;hb=b1d78519a8dd8b43698f76c61d9967ca542a1660;hp=2028477039cfc9b20246d52297c08112273032fe;hpb=a4af59f47103a3f9c903eeddb1e30ab9cb7344f0;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/utils/ReferenceHistory.php b/tests/utils/ReferenceHistory.php index 20284770..aed5d2cf 100644 --- a/tests/utils/ReferenceHistory.php +++ b/tests/utils/ReferenceHistory.php @@ -1,5 +1,8 @@ addEntry( - History::CREATED, - DateTime::createFromFormat('Ymd_His', '20170101_121212'), - 123 + History::DELETED, + DateTime::createFromFormat('Ymd_His', '20170303_121216'), + 124 ); $this->addEntry( - History::CREATED, - DateTime::createFromFormat('Ymd_His', '20170201_121214'), - 124 + History::SETTINGS, + DateTime::createFromFormat('Ymd_His', '20170302_121215') ); $this->addEntry( @@ -33,14 +35,15 @@ class ReferenceHistory ); $this->addEntry( - History::SETTINGS, - DateTime::createFromFormat('Ymd_His', '20170302_121215') + History::CREATED, + DateTime::createFromFormat('Ymd_His', '20170201_121214'), + 124 ); $this->addEntry( - History::DELETED, - DateTime::createFromFormat('Ymd_His', '20170303_121216'), - 124 + History::CREATED, + DateTime::createFromFormat('Ymd_His', '20170101_121212'), + 123 ); } @@ -73,7 +76,7 @@ class ReferenceHistory } /** - * Returns the number of links in the reference data + * Returns the number of bookmarks in the reference data */ public function count() {